@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap");
/* K & C Carpet Cleaning B: drag-to-clean stairs, navy + coral, DM Serif Display */
/* ---------- Cinematic full-screen hero (shared by the SureHand variants) ---------- */
.hero-full.cx {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px);
  background: #05080e;
}
.hero-full.cx > picture, .hero-full.cx::after, .hero-full.cx .hero-cap { display: none; }
.cx-stage { position: absolute; inset: 0; z-index: -1; }
.cx-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 899px) { .cx-stage img { object-position: 70% 50%; } }
.cx-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .62) 34%, rgba(var(--scrim), .12) 62%, transparent 75%),
              linear-gradient(0deg, rgba(var(--scrim), .55) 0%, transparent 30%);
}
@media (max-width: 899px) {
  .hero-full.cx { align-items: flex-end; min-height: 88svh; }
  .cx-scrim { background: linear-gradient(0deg, rgba(var(--scrim), .94) 0%, rgba(var(--scrim), .78) 42%, rgba(var(--scrim), .1) 72%, transparent 100%); }
}
.hero-full.cx .hero-in { position: relative; z-index: 2; width: 100%; }
.hero-full.cx .hero-copy { max-width: 38rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-full.cx h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.hero-full.cx .lead { color: rgba(255, 255, 255, .86); }
.hero-full.cx .btn { text-shadow: none; }
.hero-full.cx .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.cx-gold { color: var(--accent); }
.cx-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--accent); font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.cx-kicker::before { content: ""; width: 30px; height: 2px; background: var(--accent); }

/* the "after" layer is revealed by a growing circle (strike, switch) or a left-to-right wipe (blueprint) */
.cx-b { clip-path: circle(0px at var(--cx, 60%) var(--cy, 40%)); transition: clip-path 1.25s cubic-bezier(.25, .8, .25, 1); will-change: clip-path; }
.hero-full.cx.is-on .cx-b { clip-path: circle(var(--cr, 150vmax) at var(--cx, 60%) var(--cy, 40%)); }

/* chips (hint, undo, build) */
.cx-chip {
  position: absolute; z-index: 3; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px);
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(10, 14, 22, .55); color: #fff;
  font: 700 .86rem/1 var(--font-body); backdrop-filter: blur(10px);
  transition: opacity .4s ease, transform .4s ease, background .2s;
}
.cx-chip:hover { background: rgba(10, 14, 22, .75); }
.cx-chip svg { width: 18px; height: 18px; color: var(--accent); }
.cx-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 899px) { .cx-chip { top: 16px; bottom: auto; right: 16px; } }

/* ---- strike ---- */
.cx-strike { cursor: pointer; }
.cx-strike .cx-undo { opacity: 0; transform: translateY(8px); pointer-events: none; }
.cx-strike.is-on .cx-undo { opacity: 1; transform: none; pointer-events: auto; transition-delay: 1s; }
.cx-strike.is-on .cx-hint { opacity: 0; transform: translateY(8px); pointer-events: none; }
.cx-hint { animation: cx-bob 2.6s ease-in-out infinite; }
@keyframes cx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.cx-ring {
  position: absolute; z-index: 2; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; pointer-events: none;
  border: 3px solid var(--accent); box-shadow: 0 0 24px var(--accent);
  animation: cx-ring .85s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes cx-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(14); opacity: 0; } }
.cx-shake { animation: cx-shake .32s cubic-bezier(.36, .07, .19, .97); }
@keyframes cx-shake { 10%, 90% { transform: translate(-1px, 1px); } 20%, 80% { transform: translate(3px, -2px); } 30%, 50%, 70% { transform: translate(-4px, 2px); } 40%, 60% { transform: translate(4px, -1px); } }

/* ---- switch ---- */
.cx-switch { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.cx-plate {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 58px; height: 96px; padding: 8px 0; border: 0; border-radius: 7px; cursor: pointer; flex: none;
  background: linear-gradient(160deg, #fbf9f4 0%, #ebe6dc 55%, #d9d1c1 100%);
  box-shadow: 0 1px 0 #fff inset, 0 12px 26px -8px rgba(0, 0, 0, .7), 0 2px 4px rgba(0, 0, 0, .3);
}
.cx-plate:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.cx-screw { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #c9c3b6 60%, #9d968a); }
.cx-slot { position: relative; width: 19px; height: 38px; border-radius: 4px; background: linear-gradient(#cfc8ba, #e8e3d8); box-shadow: 0 1px 3px rgba(0, 0, 0, .35) inset; }
.cx-toggle { position: absolute; left: 3px; right: 3px; height: 21px; bottom: 2px; border-radius: 3px; background: linear-gradient(#fdfcf9, #e2dccf); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); transition: bottom .16s cubic-bezier(.3, 1.6, .5, 1); }
.cx-plate[aria-checked="true"] .cx-toggle { bottom: 15px; box-shadow: 0 -3px 4px rgba(0, 0, 0, .25); }
.cx-switchlabel { color: var(--accent); font: 700 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.cx-switch .cx-plate::after {
  content: ""; position: absolute; inset: -10px; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255, 210, 140, .0); animation: cx-glow 2.4s ease-in-out infinite;
}
.cx-switch .cx-plate[aria-checked="true"]::after { animation: none; }
@keyframes cx-glow { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 210, 140, 0); } 50% { box-shadow: 0 0 0 2px rgba(255, 210, 140, .55), 0 0 24px rgba(255, 210, 140, .35); } }

/* ---- roller (B): drag-to-compare wipe, after on the left ---- */
.cx-roller .cx-b { clip-path: inset(0 calc(100% - var(--p, 0) * 1%) 0 0); transition: none; }
.cx-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--p, 0) * 1%); width: 0; pointer-events: none; }
.cx-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--accent); box-shadow: 0 0 14px rgba(0, 0, 0, .35); }
.cx-handle {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); pointer-events: auto;
  width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; cursor: ew-resize; touch-action: none;
  background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); display: grid; place-items: center;
}
.cx-handle svg { width: 28px; height: 28px; }
.cx-handle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cx-tag {
  position: absolute; top: 18%; padding: 6px 11px; border-radius: 999px; white-space: nowrap;
  font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(27, 43, 91, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
}
.cx-tag-l { right: 16px; }
.cx-tag-r { left: 16px; }
.cx-roller .cx-hint { display: none; }
@media (prefers-reduced-motion: reduce) { .cx-b, .cx-chip { transition: none !important; } .cx-hint { animation: none; } .cx-ring { display: none; } }
/* logo: transparent badge, no box */
.brand-logo { height: 58px; width: auto; background: none; border-radius: 0; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); }
@media (max-width: 640px) { .brand-logo { height: 48px; } }
#work img { border-radius: 12px; transition: transform .3s ease; }
#work li:hover img, #work figure:hover img { transform: scale(1.02); }
.svc-card { transition: transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) { .svc-card, #work img { transition: none; } }

/* service icons */
.svc-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 14px; background: var(--primary); color: var(--accent); box-shadow: 0 6px 16px -10px rgba(13, 26, 46, .6); }
.svc-ic svg { width: 28px; height: 28px; }
.svc-card:hover .svc-ic { transform: translateY(-2px); transition: transform .2s ease; }
@media (max-width: 640px) { .svc-ic { width: 44px; height: 44px; border-radius: 12px; } .svc-ic svg { width: 24px; height: 24px; } }
/* services as icon cards: 3 across on desktop, 2 on tablet, 1 on phone */
#services .svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { #services .svc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #services .svc { grid-template-columns: 1fr; gap: 12px; } }
#services .svc-card { border-top: 0; padding: 22px 20px 18px; background: #fff; border: 1px solid rgba(13, 26, 46, .09); border-radius: 16px; box-shadow: 0 10px 28px -22px rgba(13, 26, 46, .55); transition: transform .2s ease, box-shadow .2s ease; }
#services .svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(13, 26, 46, .6); }
#services .svc-ic { width: 60px; height: 60px; border-radius: 16px; }
#services .svc-ic svg { width: 32px; height: 32px; }
#services .svc-card h3 { font-size: 1.15rem; }
#services .svc-card p { font-size: .95rem; }
@media (max-width: 560px) { #services .svc-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 16px; } #services .svc-ic { width: 52px; height: 52px; margin: 0; grid-row: span 3; } #services .svc-body { display: contents; } }

/* phones: smaller hero copy + lighter scrim so the room shows (same words) */
@media (max-width: 640px) {
  .hero-full.cx { padding-block: 40px 26px; }
  .hero-full.cx h1 { font-size: 1.85rem !important; line-height: 1.07; }
  .hero-full.cx .lead { font-size: .92rem; line-height: 1.45; margin-top: 8px; }
  .cx-kicker { font-size: .62rem; margin-bottom: 10px; }
  .cx-kicker::before { width: 18px; }
  .hero-full.cx .btn { min-height: 42px; padding: .5em 1em; font-size: .9rem; }
  .hero-full.cx .cta-row { gap: 8px; margin-top: 14px; }
  .hero-full.cx .hero-rating { font-size: .8rem; margin-top: 10px; }
  .cx-scrim { background: linear-gradient(0deg, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .55) 32%, transparent 58%) !important; }
}

/* gallery: taller frames so portrait job photos stay centered and level, not chopped */
#work .gallery img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }


/* phones: 2-column gallery (template default), no swipe row */
.swipe-hint { display: none; }

/* phones/tablets: compact Call pill + hamburger (desktop unchanged) */
.m-actions, .m-menu { display: none; }
@media (max-width: 899px) {
  .top .call-full { display: none; }
  .m-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .m-call { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--dark); color: var(--light); font-weight: 700; font-size: .92rem; text-decoration: none; }
  .m-call .i { width: 16px; height: 16px; }
  .m-burger { display: inline-grid; place-content: center; gap: 4px; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
  .m-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .2s ease, opacity .2s ease; }
  .m-open .m-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .m-open .m-burger span:nth-child(2) { opacity: 0; }
  .m-open .m-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .m-menu:not([hidden]) { display: grid; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 16px; background: var(--light); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(13, 26, 46, .45); }
  .m-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--dark); font-weight: 600; text-decoration: none; }
  .m-menu a.m-quote { justify-content: center; margin-top: 12px; border: 0; border-radius: 12px; background: var(--accent); color: var(--dark); font-weight: 700; }
}
/* phone mockup: real photo in the outgoing bubble */
.pm-photo.pm-has-img { padding: 4px; width: 72%; max-width: 220px; height: auto; display: block; overflow: hidden; }
.pm-photo.pm-has-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* paint cursor on the tap-to-paint hero */
.cx-strike { cursor: pointer; }

/* wordmark logo: wide 3.5:1, sits flush on the light header */
.brand-logo { height: 52px; width: auto; filter: none; }
@media (max-width: 640px) { .brand-logo { height: auto; max-height: 40px; max-width: 46vw; } }

/* phones: photo band on top (whole scene in frame), copy below on dark - like Jesse's */
@media (max-width: 640px) {
  .hero-full.cx { display: block; min-height: 0 !important; padding: 0 0 26px !important; background: var(--dark); }
  .hero-full.cx .cx-stage { position: relative; inset: auto; height: var(--band, 72vw); min-height: 240px; z-index: 0; }
  .hero-full.cx .cx-stage img { object-position: var(--band-x, 72%) 50% !important; }
  .hero-full.cx .cx-scrim { background: linear-gradient(0deg, var(--dark) 0%, rgba(0,0,0,0) 28%) !important; }
  .hero-full.cx .hero-in { margin-top: -14px; }
  .hero-full.cx .cx-chip { top: auto; bottom: calc(100% - max(var(--band, 72vw), 240px) + 30px); right: 12px; padding: 9px 13px; font-size: .8rem; }
  .cx-roller .cx-line { bottom: auto; height: max(var(--band, 72vw), 240px); }
  .cx-roller .cx-chip { top: auto; bottom: auto; }
  .cx-roller .cx-build { display: none; }
  .cx-tag { top: 12px; font-size: .64rem; }
  .cx-handle { width: 50px; height: 50px; }
}

/* B theme */
:root { --font-display: 'DM Serif Display', Georgia, serif; --scrim: 27, 43, 91; --band: 66vw; --band-x: 50%; }
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
.hero-full.cx h1 { font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.btn { border-radius: 999px; }
.svc-ic { border-radius: 50% !important; }
.cx-handle { color: #fff; }

/* phones: gallery stays 2 columns */
@media (max-width: 640px) {
  #work .gallery { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; margin-inline: 0; padding: 0; overflow: visible; }
  #work .gallery li { flex: none; width: auto; }
  #work .gallery img { border-radius: 10px; }
}














/* ===== KC POLISH START ===== */
/* ===== KC polish pass: shared ===== */
/* palette hooks (per-client file in _kc/palettes/<slug>.css overrides these) */
:root { --kc-hi: var(--accent); --acc-rgb: 242, 165, 65; --prim-rgb: 27, 43, 91; --paper: #f7f2e8; }
html.kc-a { --kc-on: var(--dark); }
html.kc-b { --kc-on: #fff; }

.kc-motion .kc-rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms); }
.kc-motion .kc-rv.in { opacity: 1; transform: none; }
/* hero sparkles on the cleaned carpet */
.kc-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.kc-sparks i { position: absolute; width: calc(var(--s,1) * 14px); height: calc(var(--s,1) * 14px); margin: -7px 0 0 -7px; opacity: 0; background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.kc-motion .kc-sparks i { animation: kc-tw 3.2s ease-in-out var(--t,0s) infinite; }
@keyframes kc-tw { 0%, 62%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 78% { opacity: .95; transform: scale(1) rotate(45deg); } }
.hero-full.cx.cx-strike:not(.is-on) .kc-sparks, .hero-full.cx.cx-switch:not(.is-on) .kc-sparks { visibility: hidden; }
.cx-glint { position: absolute; top: -10%; bottom: -10%; left: 0; width: 38%; pointer-events: none; opacity: 0; transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent); mix-blend-mode: soft-light; }
.kc-motion .cx-strike.is-on .cx-glint { animation: kc-gl 6.5s ease-in-out 1.4s infinite; }
@keyframes kc-gl { 0% { opacity: 0; transform: translateX(-130%) skewX(-18deg); } 8% { opacity: 1; } 38% { opacity: 1; } 46%, 100% { opacity: 0; transform: translateX(330%) skewX(-18deg); } }
/* reviews: full-width, head on top */
#reviews { overflow: hidden; }
#reviews .reviews { grid-template-columns: 1fr; gap: 28px; }
#reviews .rev-head { grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 28px; }
#reviews .rev-head h2 { grid-column: 1 / -1; }
@media (max-width: 760px) { #reviews .rev-head { grid-template-columns: 1fr; justify-items: start; } }
#reviews .quotes { display: block; margin-inline: calc(50% - 50vw); width: 100vw; }
.kc-card { margin: 0; border-left: 0; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: 18px; }
.kc-card p { margin: 0; font-size: 1.02rem; line-height: 1.55; max-width: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
.kc-card.open p { -webkit-line-clamp: unset; }
.kc-card footer { margin-top: auto; font-weight: 700; font-size: .92rem; }
.kc-more { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: 700 .86rem/1 var(--font-body); color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: .85; }
.kc-more:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* before/after showcase */
.kc-showsec .kc-show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kc-show-copy h2 { margin: 0 0 14px; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.04; }
.kc-show-copy p { margin: 0 0 24px; max-width: 40ch; font-size: 1.08rem; line-height: 1.6; }
.kc-show-fig { margin: 0; }
.kc-show-fig img { display: block; width: 100%; height: auto; border-radius: 18px; }
@media (max-width: 820px) { .kc-showsec .kc-show { grid-template-columns: 1fr; } }
/* service cards: richer states */
#services .svc-card { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
#services .svc-card:active { transform: scale(.985); }
#services .svc-card .price-ask a { transition: letter-spacing .2s ease; }
#services .svc-card:hover .price-ask a { letter-spacing: .02em; }
/* phone hero type + 2-col gallery stays */
@media (max-width: 640px) { .hero-full.cx h1 { font-size: 2.05rem !important; } .kc-card { padding: 22px 20px 18px; } }
@media (prefers-reduced-motion: reduce) { .kc-sparks i, .cx-glint { animation: none !important; } .kc-sparks { display: none; } }

/* phones: swipeable photo row instead of a long stack (SureHand pattern) */
.swipe-hint { display: none; }
@media (max-width: 640px) {
  #work .gallery { display: flex !important; grid-template-columns: none; columns: auto; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 6px; scroll-padding-inline: 16px; }
  #work .gallery::-webkit-scrollbar { display: none; }
  #work .gallery li { flex: 0 0 80%; scroll-snap-align: start; margin: 0; grid-column: auto; grid-row: auto; }
  #work .gallery img { border-radius: 14px; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; color: var(--muted, #6b6b6b); font-size: .88rem; font-weight: 600; }
  .swipe-hint svg { width: 18px; height: 18px; }
}

/* before/after from two real photos */
.kc-show-fig.kc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kc-pair-item { position: relative; }
.kc-pair-item img { aspect-ratio: 4 / 3; object-fit: cover; }
.kc-pair-tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 99px; font: 700 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(13,26,46,.82); color: #fff; }
.kc-pair-item:last-child .kc-pair-tag { background: var(--kc-hi); color: var(--kc-on); }
@media (max-width: 520px) { .kc-show-fig.kc-pair { grid-template-columns: 1fr; } }
/* ===== B: navy + coral, editorial. Memorable thing: the drag-to-clean stairs + bento services + review carousel ===== */
.hero-full.cx h1 { font-size: clamp(2.8rem, 5.6vw, 5.1rem); line-height: 1; letter-spacing: -.01em; max-width: 14ch; text-wrap: balance; }
.hero-full.cx .hero-copy { max-width: 44rem; }
.hero-full.cx .lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 32rem; }
@media (max-width: 640px) { .hero-full.cx h1 { max-width: none; } }
.kc-b .cx-roller .cx-hint { display: none; }
/* stats strip: big numerals on cream */
.kc-b .band { background: var(--light); border-bottom: 1px solid rgba(var(--prim-rgb),.12); }
.kc-b .band .band-score { font-size: clamp(3.4rem, 7vw, 5.2rem); color: var(--primary); letter-spacing: -.04em; }
.kc-b .band .stars { color: var(--accent); }
/* services: bento */
.kc-b #services { background: #fff; }
.kc-b #services .svc { grid-template-columns: repeat(6, 1fr) !important; gap: 14px !important; }
.kc-b #services .svc-card { grid-column: span 2; background: var(--light); border: 1px solid rgba(var(--prim-rgb),.1); border-radius: 22px; box-shadow: none; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.kc-b #services .svc-card:nth-child(1) { grid-column: span 4; background: var(--primary); color: #fff; padding: 34px 30px; }
.kc-b #services .svc-card:nth-child(1) h3 { color: #fff; font-size: 1.7rem; }
.kc-b #services .svc-card:nth-child(1) p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.kc-b #services .svc-card:nth-child(1) .svc-ic { background: var(--accent); color: var(--kc-on); }
.kc-b #services .svc-card:nth-child(1) .price-ask a { color: #fff; border-color: var(--accent); }
.kc-b #services .svc-card:nth-child(2) { grid-column: span 2; }
.kc-b #services .svc-card:nth-child(n+3) { grid-column: span 3; }
.kc-b #services .svc-card:nth-child(n+2):hover { background: var(--accent); border-color: var(--accent); color: var(--kc-on); transform: translateY(-4px) rotate(-.4deg); }
.kc-b #services .svc-card:nth-child(n+2):hover h3, .kc-b #services .svc-card:nth-child(n+2):hover p, .kc-b #services .svc-card:nth-child(n+2):hover .price-ask a { color: var(--kc-on); border-color: var(--kc-on); }
.kc-b #services .svc-card:nth-child(n+2):hover .svc-ic { background: var(--kc-on); color: var(--accent); }
.kc-b #services .svc-ic { border-radius: 50%; }
@media (max-width: 960px) { .kc-b #services .svc { grid-template-columns: repeat(2, 1fr) !important; } .kc-b #services .svc-card, .kc-b #services .svc-card:nth-child(n) { grid-column: span 1; } .kc-b #services .svc-card:nth-child(1) { grid-column: span 2; } }
@media (max-width: 560px) { .kc-b #services .svc { grid-template-columns: 1fr !important; } .kc-b #services .svc-card:nth-child(n) { grid-column: span 1; } .kc-b #services .svc-card:nth-child(1) { padding: 22px 20px; } .kc-b #services .svc-card:nth-child(1) h3 { font-size: 1.3rem; } }
/* how it works: navy band */
.kc-b #how { background: var(--dark); color: #fff; border: 0; }
.kc-b #how h2, .kc-b #how h3, .kc-b #how .steps li::before { color: #fff; }
.kc-b #how .steps li { border-top-color: var(--accent); }
.kc-b #how .steps p { color: rgba(255,255,255,.75); }
.kc-b #how .steps li::before { color: var(--kc-hi); }
/* showcase: cream, framed like a print */
.kc-b .kc-showsec { background: var(--light); }
.kc-b .kc-show-fig { padding: 12px; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(var(--prim-rgb),.5); transform: rotate(-1deg); }
.kc-b .kc-show-fig img { border-radius: 12px; }
/* reviews carousel */
.kc-b #reviews { background: #fff; border: 0; }
.kc-b #reviews .quotes.kc-cards { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc(50vw - 580px)); padding: 6px max(16px, calc(50vw - 580px)) 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kc-b #reviews .quotes::-webkit-scrollbar { display: none; }
.kc-b .kc-card { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; background: var(--primary); color: #fff; }
.kc-b .kc-card:nth-child(3n+2) { background: var(--accent); color: var(--kc-on); }
.kc-b .kc-card:nth-child(3n) { background: var(--light); color: var(--dark); border: 1px solid rgba(var(--prim-rgb),.12); }
.kc-b .kc-card::before { content: "\201C"; font: 400 4rem/.8 var(--font-display); opacity: .5; }
.kc-b .kc-card footer { color: inherit; opacity: .9; }
.kc-nav { display: flex; gap: 10px; justify-content: flex-end; max-width: 1160px; margin: 6px auto 0; padding-inline: clamp(16px, 4vw, 32px); }
.kc-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); background: #fff; color: var(--primary); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.kc-nav button:hover { background: var(--primary); color: #fff; }
.kc-nav button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.kc-nav svg { width: 22px; height: 22px; }
.kc-b #area { background: var(--primary); }
.kc-b #faq { background: var(--light); }
@media (prefers-reduced-motion: reduce) { .kc-b #reviews .quotes { scroll-behavior: auto; } }
/* palette: az-heat-mechanics-b */
:root { --kc-hi: #F7CC6B; --acc-rgb: 242, 182, 60; --prim-rgb: 20, 48, 79; --paper: #faf7f0; }

/* ===== FIRE THEME (AZ Heat card colors: red #D7261E, orange #F7931E, yellow #FFD21F, black #111) ===== */
:root { --fire-red: #D7261E; --fire-orange: #F7931E; --fire-yellow: #FFD21F; --fire-grad: linear-gradient(90deg, #D7261E 0%, #F7931E 55%, #FFD21F 100%); --fire-tongues: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 64' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23FFD21F'/%3E%3Cstop offset='.45' stop-color='%23F7931E'/%3E%3Cstop offset='1' stop-color='%23D7261E' stop-opacity='.0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 64V40C10 30 14 18 12 4c14 10 22 22 22 36 6-8 10-14 10-24 12 12 18 26 14 40 8-6 14-16 14-30 14 10 22 24 18 38 8-8 12-18 12-34 14 12 22 28 16 48z M120 64c2-12 8-22 14-28 0 10 4 16 8 20 4-10 6-24 4-40 14 12 22 28 20 48z M180 64c0-14 6-26 12-34 2 10 4 16 8 20 2-12 6-22 12-30 6 14 8 30 4 44z'/%3E%3C/svg%3E"); }
/* logo: square transparent badge on the light header */
.top .brand-logo { height: 108px; margin-block: 0; width: auto; max-width: none; max-height: none; aspect-ratio: 640 / 511; object-fit: contain; filter: none; background: none; border-radius: 0; }
.top .brand { min-height: 0; }
@media (max-width: 640px) { .top .brand-logo { height: 76px; margin-block: 0; max-height: none; max-width: none; } }
/* flame hairline under the header and on section edges */
.top { border-bottom: 0; box-shadow: 0 3px 0 0 var(--fire-red), 0 6px 0 -1px var(--fire-orange); }
.band { border-bottom: 0; position: relative; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--fire-grad); }
/* yellow-orange accent underline on section headings */
main h2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 12px; border-radius: 3px; background: var(--fire-grad); }
#reviews .rev-head h2::after { margin-top: 10px; }
/* buttons */
.btn-accent, .m-quote { background: linear-gradient(180deg, #FFD21F 0%, #F7931E 100%) !important; color: #111 !important; box-shadow: 0 8px 22px -10px rgba(247, 147, 30, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary { background: linear-gradient(180deg, #E52F25 0%, #C21E17 100%) !important; color: #fff !important; box-shadow: 0 8px 22px -10px rgba(215, 38, 30, .8); }
.btn-accent:hover, .btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-accent, .btn-primary { transition: transform .15s ease, filter .15s ease; }
.m-call { background: #111 !important; color: #fff !important; box-shadow: inset 0 -3px 0 var(--fire-orange); }
/* dark sections: orange glow on cards */
#services .svc-card { box-shadow: 0 10px 28px -22px rgba(17, 17, 17, .6); }
.svc-ic { background: #111 !important; color: var(--fire-yellow) !important; }
#how .steps li::before { color: var(--fire-red); }
/* flame edge element (hero, built from CSS only) */
.hero-full.cx::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(34px, 6vw, 70px); z-index: 1; pointer-events: none; background-image: var(--fire-tongues); background-repeat: repeat-x; background-size: 240px 100%; background-position: 0 100%; opacity: .95; }
@media (prefers-reduced-motion: no-preference) { .hero-full.cx::before { animation: fire-drift 16s linear infinite; } }
@keyframes fire-drift { to { background-position: 240px 100%; } }
@keyframes fire-glow { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
/* --- B: black hero with orange ember glow, bento services in black and red --- */
:root { --scrim: 17, 17, 17; --kc-hi: #FFD21F; --acc-rgb: 247, 147, 30; --prim-rgb: 215, 38, 30; --paper: #FFFFFF; }
html.kc-b { --kc-on: #111; }
.hero-full.cx { background: #111 !important; }
.hero-full.cx .cx-scrim { background: linear-gradient(90deg, rgba(17, 17, 17, .93) 0%, rgba(17, 17, 17, .70) 38%, rgba(17, 17, 17, .10) 68%, transparent 80%), linear-gradient(0deg, rgba(17, 17, 17, .8) 0%, transparent 34%); }
/* ember glow behind the headline + rising embers */
.hero-full.cx .hero-in::before { content: ""; position: absolute; z-index: -1; left: -12%; right: 30%; top: -30%; bottom: -30%; pointer-events: none;
  background: radial-gradient(closest-side at 30% 60%, rgba(247, 147, 30, .38), rgba(215, 38, 30, .18) 55%, transparent 80%); filter: blur(10px); animation: fire-glow 4.5s ease-in-out infinite; }
.hero-full.cx::after { display: block !important; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .9;
  background-image: radial-gradient(2px 2px at 12% 90%, #FFD21F, transparent), radial-gradient(2px 2px at 27% 80%, #F7931E, transparent), radial-gradient(3px 3px at 41% 95%, #FFD21F, transparent), radial-gradient(2px 2px at 58% 85%, #F7931E, transparent), radial-gradient(2px 2px at 72% 92%, #FFD21F, transparent), radial-gradient(3px 3px at 86% 82%, #F7931E, transparent), radial-gradient(2px 2px at 95% 96%, #FFD21F, transparent);
  background-size: 100% 100%; animation: ember-rise 7s ease-in infinite; -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 85%); mask-image: linear-gradient(0deg, #000 0%, transparent 85%); }
@keyframes ember-rise { 0% { transform: translateY(24px); opacity: 0; } 20% { opacity: .95; } 100% { transform: translateY(-34vh); opacity: 0; } }
.hero-full.cx::before { height: clamp(10px, 1.6vw, 18px); background: var(--fire-grad); filter: drop-shadow(0 -6px 18px rgba(247, 147, 30, .85)); animation: fire-glow 3.5s ease-in-out infinite !important; }
.hero-full.cx h1 { text-shadow: 0 0 36px rgba(247, 147, 30, .35); }
.kc-b .band { background: #fff; }
.kc-b .band .band-score { color: var(--fire-red); }
.kc-b #services { background: #fff; }
.kc-b #services .svc-card:nth-child(1) { background: linear-gradient(150deg, #111 0%, #2a1208 100%); box-shadow: 0 0 0 1px rgba(247, 147, 30, .35), 0 24px 50px -26px rgba(247, 147, 30, .6); }
.kc-b #services .svc-card:nth-child(1) .svc-ic { background: linear-gradient(180deg, #FFD21F, #F7931E) !important; color: #111 !important; }
.kc-b #services .svc-card:nth-child(n+2):hover { background: linear-gradient(180deg, #FFD21F, #F7931E); box-shadow: 0 18px 40px -18px rgba(247, 147, 30, .8); }
.kc-b #how { background: radial-gradient(800px 360px at 80% 120%, rgba(247, 147, 30, .22), transparent 65%), #111; position: relative; }
.kc-b #how::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--fire-grad); }
.kc-b #how .steps li { border-top-color: var(--fire-orange); }
.kc-b #how .steps li::before { color: var(--fire-yellow); }
.kc-b .kc-card { background: #111; box-shadow: 0 0 28px -12px rgba(247, 147, 30, .55); }
.kc-b .kc-card:nth-child(3n+2) { background: linear-gradient(180deg, #FFD21F, #F7931E); }
.kc-b .kc-card:nth-child(3n) { background: #FFF9F2; }
.kc-b .kc-card:nth-child(3n+1)::before { color: var(--fire-yellow); }
.kc-b #area { background: linear-gradient(160deg, #B81D17, #D7261E); }
.kc-b .kc-showsec { background: #FFF9F2; }
@media (max-width: 640px) {
  .hero-full.cx { background: #111 !important; }
  .hero-full.cx .cx-scrim { background: linear-gradient(0deg, #111 0%, rgba(17, 17, 17, 0) 28%) !important; }
  .hero-full.cx .hero-in::before { left: -20%; right: -20%; top: -10%; bottom: -10%; }
}
@media (prefers-reduced-motion: reduce) { .hero-full.cx::before, .hero-full.cx .hero-in::before { animation: none !important; } .hero-full.cx::after { display: none !important; } .hero-full.cx .hero-in::before { opacity: .7; } }

/* Jude 10/8: phones only, hero zoomed in a lot, framed on the car */
@media (max-width: 640px) { .hero-full.cx .cx-stage { overflow: hidden; } .hero-full.cx .cx-stage img { object-position: 100% 50% !important; transform: none; } }

/* 11 service cards: let the last one span the full row on desktop so it is not orphaned */
@media (min-width: 961px) { .kc-b #services .svc-card:nth-child(11):last-child { grid-column: span 6; } }

/* TikTok band + header icon */
.tt-band{background:#111;color:#fff;padding:clamp(40px,7vw,72px) 0;border-top:3px solid var(--accent,#F7931E)}
.tt-in{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.tt-kick{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--accent,#F7931E);letter-spacing:.02em}
.tt-band h2{margin:.35em 0 .2em;color:#fff}
.tt-band p{margin:0;opacity:.8}
.tt-btn{display:inline-flex;align-items:center;gap:10px}
.tt-head{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;color:inherit;margin-right:8px;border:1.5px solid currentColor;opacity:.9}
.tt-head:hover{opacity:1}
@media (max-width:600px){.tt-btn{width:100%;justify-content:center}.tt-head{width:38px;height:38px;margin-right:6px}}

/* ---- 10/11 questionnaire update: call/text only ---- */
.bar.bar-2 { grid-template-columns: 1fr 1fr; }
.bar.bar-2 a:first-child { background: var(--accent); color: var(--on-accent, #111); border-color: var(--accent); }
.bar.bar-2 a:last-child { background: var(--accent); color: var(--on-accent, #111); border-color: var(--accent); }
.btn-text-top { display: none; }
@media (min-width: 900px) { .btn-text-top { display: inline-flex; } .top-in { gap: 10px; } .top-in .nav { margin-left: auto; } }
/* the four jobs Kevin wants most (first four cards) get the most visual weight: 2x2 dark feature cards, the other eight smaller */
@media (min-width: 961px) {
  .kc-b #services .svc-card:nth-child(-n+4) { grid-column: span 3; }
  .kc-b #services .svc-card:nth-child(n+5) { grid-column: span 2; }
  .kc-b #services .svc-card:nth-child(n+11) { grid-column: span 3; }
}
.kc-b #services .svc-card:nth-child(-n+4) { background: linear-gradient(150deg, #111 0%, #2a1208 100%); color: #fff; padding: 32px 28px; box-shadow: 0 0 0 1px rgba(247, 147, 30, .35), 0 24px 50px -26px rgba(247, 147, 30, .6); }
.kc-b #services .svc-card:nth-child(-n+4) h3 { color: #fff; font-size: 1.7rem; }
.kc-b #services .svc-card:nth-child(-n+4) p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.kc-b #services .svc-card:nth-child(-n+4) .svc-ic { background: linear-gradient(180deg, #FFD21F, #F7931E) !important; color: #111 !important; }
.kc-b #services .svc-card:nth-child(-n+4) .price-ask a { color: #fff; border-color: var(--accent); }
.kc-b #services .svc-card:nth-child(n+5) h3 { font-size: 1.1rem; }
@media (max-width: 960px) { .kc-b #services .svc-card:nth-child(n) { grid-column: span 1; } }
@media (max-width: 560px) { .kc-b #services .svc-card:nth-child(-n+4) { padding: 22px 20px; } .kc-b #services .svc-card:nth-child(-n+4) h3 { font-size: 1.3rem; } }
.why-list { list-style: none; display: grid; gap: 20px; margin-top: 14px; }
.why-list li { border-top: 3px solid var(--accent); padding-top: 14px; }
.why-list h3 { margin-bottom: .25em; }
.why-list p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .why-list { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
