/* ServiceBot 24 landing page: hero-carousel design. */

/* ---------- fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/Anton-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/Inter-var.woff2) format('woff2'); }

/* ---------- tokens ---------- */
:root {
  --bg: #E8E9E4;          /* page below the hero: cool concrete grey */
  --surface: #FBFBF9;
  --ink: #181915;
  --muted: #55584F;
  --rule: rgba(24, 25, 21, .14);
  --plumb: #B3561A;       /* the four slide colours, reused as section accents */
  --hvac: #5F6630;
  --roof: #8C9C89;
  --elec: #4FB3A2;
  --moss: #2B311D;
  --danger: #B3261E;
  --ok: #2E7A4E;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(12px, 2vw, 28px);
  --r-lg: clamp(22px, 2.4vw, 36px);
  --ease-roll: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.2, .75, .15, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #1B5CFF; outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; border-radius: 10px; }
.skip:focus { top: 12px; }

/* placeholders: blue dashed boxes */
.ph { display: inline-block; padding: 0 .38em; border: 1.5px dashed #2F6BEA; border-radius: 6px; background: #E4EDFF; color: #1646B8; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.ph--dark { background: rgba(120, 160, 255, .16); border-color: #8FB0FF; color: #D5E2FF; }

.draftbar { background: #15150F; color: #EDEEE8; font-size: 13.5px; line-height: 1.45; padding: 9px 16px; text-align: center; }
.draftbar strong { color: #fff; }

/* ---------- hero ---------- */
.hero { --pad: var(--gutter); background: var(--page); padding: var(--pad) var(--pad) 0; transition: background-color .9s ease; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1440px; margin: 0 auto;
  height: clamp(580px, calc(100vh - 38px - var(--pad) - 54px), 880px);
  height: clamp(580px, calc(100svh - 38px - var(--pad) - 54px), 880px);
  border-radius: var(--r-lg);
  background-color: var(--card); color: var(--on);
  box-shadow: 0 60px 90px -50px rgba(24, 16, 6, .6), 0 20px 44px -28px rgba(24, 16, 6, .45);
  transition: background-color .9s ease, color .6s ease;
  container-type: size;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  grid-template-areas: "top top" ". ." "left right";
}
.card::before { /* soft studio light: gloss at the top, weight at the bottom */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 8%, rgba(255, 255, 255, .22), transparent 62%),
              radial-gradient(70% 50% at 50% 115%, rgba(0, 0, 0, .20), transparent 70%);
}
.card :focus-visible { outline-color: var(--on); }

.stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.word {
  position: absolute; left: 0; right: 0; top: 9cqh;
  font-family: var(--display); font-weight: 400; font-size: min(36cqw, 70cqh); line-height: .9;
  height: .9em; overflow: hidden; text-align: center;
}
.word__track { transform: translate3d(0, calc(var(--i) * -1em), 0); transition: transform .95s var(--ease-roll); will-change: transform; }
.word__track span {
  display: block; height: 1em; letter-spacing: .005em; /* 1em slot, caps fill the top .9em: keeps the next word's overshoot out of the window */
  background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .62) 38%, rgba(255, 255, 255, 0) 87%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chars { position: absolute; inset: 0; }
.card[data-dir="next"] { --from: 24%; --to: -24%; }
.card[data-dir="prev"] { --from: -24%; --to: 24%; }
.char {
  position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end;
  opacity: 0; visibility: hidden; transform: translate3d(var(--from, 24%), 0, 0); transition: none;
}
.char img { height: min(97cqh, 58cqw); width: auto; max-width: none; filter: drop-shadow(0 26px 30px rgba(20, 12, 4, .26)); }
.char--plumbing img { transform: translateX(3%); }
.char--bathroom img { transform: translateX(5%); } /* her body sits left in the frame; the tiles reach right */
.char.is-active { opacity: 1; visibility: visible; transform: none; transition: transform .95s var(--ease-out) .14s, opacity .5s ease .14s; }
.char.is-out { opacity: 0; visibility: visible; transform: translate3d(var(--to, -24%), 0, 0) scale(.95); transition: transform .7s cubic-bezier(.6, 0, .4, 1), opacity .45s ease .12s; }

.card__top { grid-area: top; position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 22px 26px 0 30px; }
.wordmark { text-decoration: none; margin-right: auto; }
.wordmark .wm { font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.card__nav { display: flex; gap: 26px; margin-right: 12px; }
.card__nav a { font-size: 14px; font-weight: 500; text-decoration: none; opacity: .88; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.card__nav a:hover { opacity: 1; border-bottom-color: currentColor; }
.pill { background: #fff; color: #15150F; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); transition: transform .15s ease; white-space: nowrap; }
.pill:hover { transform: translateY(-1px); }

.card__left { grid-area: left; position: relative; z-index: 3; align-self: end; padding: 0 0 34px 34px; max-width: clamp(320px, 30cqw, 430px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .86; }
.card h1 { font: 800 clamp(32px, 3.1cqw, 46px)/1.02 var(--sans); letter-spacing: -.03em; margin: 10px 0 12px; }
.sub { font-size: 16px; line-height: 1.5; opacity: .94; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #15150F; color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .7); }
.link { font-size: 15px; font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

.card__right { grid-area: right; position: relative; z-index: 3; align-self: end; justify-self: end; width: clamp(290px, 25cqw, 350px); padding: 0 30px 30px 0; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transition: opacity .35s ease, transform .5s ease, visibility 0s .5s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .28s, transform .6s var(--ease-out) .28s, visibility 0s; }
.slide__trade { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; }
.slide__trade::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.slide__line { font-size: 16.5px; font-weight: 600; line-height: 1.42; letter-spacing: -.005em; }
.controls { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 12px 12px; align-items: center; margin-top: 18px; }
.pp { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--on); background: rgba(255, 255, 255, .16); border: 1.5px solid currentColor; padding: 0; transition: background .2s; }
.pp:hover { background: rgba(255, 255, 255, .3); }
.pp svg { width: 15px; height: 15px; fill: currentColor; }
.pp .pp__play, .pp.is-play .pp__pause { display: none; }
.pp.is-play .pp__play { display: block; }
.bars { display: flex; gap: 6px; }
.bar { flex: 1; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.bar span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; overflow: hidden; background: currentColor; opacity: .38; color: var(--on); }
.bar.is-active span { opacity: 1; background: rgba(255, 255, 255, .3); }
.card[data-slide="roofing"] .bar.is-active span, .card[data-slide="electric"] .bar.is-active span { background: rgba(0, 0, 0, .18); }
.bar span::after { content: ''; position: absolute; inset: 0; background: var(--on); transform: scaleX(0); transform-origin: left; }
.bar.is-active span::after { animation: fill 4.5s linear forwards; }
.card.is-paused .bar.is-active span::after { animation-play-state: paused; }
.rm .bar.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.next { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--on); cursor: pointer; text-align: left; border-radius: 18px; }
.thumbs { position: relative; flex: none; width: 148px; height: 92px; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .55), 0 0 0 2px rgba(255, 255, 255, .55); transition: transform .25s var(--ease-out); }
.next:hover .thumbs { transform: translateY(-2px) scale(1.03); }
.thumb { position: absolute; inset: 0; background: var(--c); opacity: 0; transition: opacity .5s ease; }
.thumb.is-next { opacity: 1; }
.thumb__word { position: absolute; left: 0; right: 0; top: 10px; font: 400 44px/.9 var(--display); text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thumb__char { position: absolute; inset: 0; display: flex; justify-content: center; }
.thumb__char img { height: 168%; width: auto; max-width: none; margin-top: 8px; }
.next__label { font-size: 14px; font-weight: 700; line-height: 1.25; }
.next__k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

.hero__foot { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding: 15px 10px 17px; font-size: 13.5px; font-weight: 500; color: #1C1B16; }

/* ---------- sections ---------- */
.wrap { max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec + .sec { padding-top: 0; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--k, var(--plumb)); }
.sec h2, .audit h2 { font: 400 clamp(46px, 5.8vw, 92px)/.93 var(--display); text-transform: uppercase; letter-spacing: .004em; margin-top: 16px; }
.sec h2 { max-width: 10em; }
.what { --k: var(--plumb); }
.how { --k: var(--hvac); }
.who { --k: var(--roof); }
.who h2 { font-size: clamp(42px, 4.6vw, 72px); }
.faq { --k: var(--elec); }

.what__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 64px; align-items: end; padding: 0 clamp(0px, 1.5vw, 20px); }
.what h2 { max-width: 8.6em; }
.lede { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.55; max-width: 44ch; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.tile { border-radius: 30px; padding: 34px 32px 36px; min-height: 380px; display: flex; flex-direction: column; background: var(--t); color: var(--tc); box-shadow: 0 30px 50px -40px rgba(24, 16, 6, .6); }
.tile--a { --t: var(--plumb); --tc: #fff; }
.tile--b { --t: var(--hvac); --tc: #fff; }
.tile--c { --t: var(--elec); --tc: #0E211D; }
.tile h3 { font: 400 clamp(30px, 2.5vw, 40px)/.98 var(--display); text-transform: uppercase; letter-spacing: .005em; max-width: 11em; }
.tile p { margin-top: 16px; font-size: 16.5px; line-height: 1.55; }
.ticks, .crosses { margin-top: auto; padding-top: 24px; display: grid; gap: 2px; }
.ticks li, .crosses li { position: relative; padding: 9px 0 9px 30px; font-size: 15.5px; font-weight: 500; line-height: 1.4; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 15px; width: 12px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.crosses li::before, .crosses li::after { content: ''; position: absolute; left: 2px; top: 19px; width: 14px; height: 2px; background: currentColor; transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }

.panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(28px, 4.4vw, 64px); }
.how h2 { max-width: 11em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.step { background: var(--bg); border-radius: 24px; padding: 26px 26px 30px; }
.step__n { display: block; font: 400 84px/.86 var(--display); color: var(--n); margin-bottom: 22px; }
.step:nth-child(1) { --n: var(--plumb); }
.step:nth-child(2) { --n: var(--hvac); }
.step:nth-child(3) { --n: #6F806C; }
.step:nth-child(4) { --n: #2F8F80; }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

.who__grid, .faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 5vw, 80px); align-items: start; }
.who__grid > *, .faq__grid > * { min-width: 0; }
.who__grid, .faq__grid { padding-left: calc(var(--gutter) + clamp(0px, 1.5vw, 20px)); }
.trades { display: flex; flex-wrap: wrap; gap: 8px; }
.trades li { background: var(--surface); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; }
.trades li:last-child { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--muted); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.fit__card { border-radius: 24px; padding: 24px 26px 18px; }
.fit__card--yes { background: var(--roof); color: #141C16; }
.fit__card--no { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.fit h3 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fit .ticks, .fit .crosses { padding-top: 12px; }
.area { font-size: 15px; color: var(--muted); }
.area strong { color: var(--ink); }

.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 22px; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 72px 22px 26px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat, var(--bg); transition: transform .25s ease, background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--elec); }
.faq details p { padding: 0 26px 24px; max-width: 64ch; color: #3E4139; }

/* ---------- audit + form ---------- */
.audit { padding: 0 0 clamp(40px, 5vw, 64px); }
.audit__inner { background: var(--moss); color: #EEF0E7; border-radius: var(--r-lg); padding: clamp(24px, 4.4vw, 68px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.audit h2 { color: #fff; }
.kicker--light { color: #CBD1B8; --k: #E0A06A; }
.audit__intro > p:not(.kicker) { margin-top: 20px; font-size: 17px; max-width: 40ch; color: #DCE0D0; }
.next-steps { counter-reset: s; margin-top: 28px; display: grid; gap: 10px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .07); font-size: 15.5px; font-weight: 500; }
.next-steps li::before { content: counter(s); font: 400 30px/1 var(--display); color: #2B311D; background: #E0A06A; border-radius: 12px; height: 44px; display: grid; place-items: center; }
.next-steps li:nth-child(2)::before { background: #C8CD8E; }
.next-steps li:nth-child(3)::before { background: #9CD7CA; }
.audit .contact { margin-top: 26px !important; font-size: 15.5px !important; }

.formcard { background: var(--surface); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.form__req { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin: 0 0 16px; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type="radio"]), select, textarea { width: 100%; min-height: 50px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #C6C9BE; border-radius: 14px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23181915' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
input:not([type="radio"]):hover, select:hover, textarea:hover { border-color: #9A9E92; }
input:not([type="radio"]):focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(79, 179, 162, .35); }
input::placeholder { color: #8A8D83; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger) !important; background-color: #FDF5F4; }
.err { color: var(--danger); font-size: 13.5px; font-weight: 500; margin: 6px 0 0; }
.err:empty { display: none; }
.hint { font-size: 13.5px; color: var(--muted); margin: 7px 0 0; }
fieldset { border: 0; padding: 0; margin: 2px 0 18px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; font-size: 14px; font-weight: 500; padding: 10px 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #C6C9BE; transition: background .15s, box-shadow .15s, color .15s; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px #7C8076; }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid #1B5CFF; outline-offset: 2px; }
.times[aria-invalid="true"] .chip span { box-shadow: inset 0 0 0 1.5px var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 6px; }
.btn--submit { min-width: 230px; padding: 16px 26px; font-size: 16px; }
.btn--submit:disabled { cursor: progress; }
.fine { font-size: 13.5px; color: var(--muted); max-width: 32ch; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; display: none; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn--submit { opacity: .88; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__summary { background: #FBEDEB; border-left: 4px solid var(--danger); color: #6E1F1F; padding: 12px 16px; font-size: 14.5px; margin-bottom: 18px; border-radius: 12px; }
.form__summary a { color: inherit; }
.form__summary:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.offline { margin: 16px 0 0; font-size: 14px; background: #E9F0FF; color: #1D3F86; padding: 12px 16px; border-radius: 12px; }
.success { padding: 8px 0 4px; }
.success:focus { outline: none; }
.kicker--ok { color: var(--ok); --k: var(--ok); }
.success h3 { font: 400 clamp(38px, 3.6vw, 56px)/.95 var(--display); text-transform: uppercase; margin: 16px 0 16px; max-width: 10.5em; }
.success p { font-size: 17px; max-width: 48ch; }
.success .ref { margin-top: 18px; font-size: 14px; color: var(--muted); }
.success code { font: 600 14px/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; background: var(--bg); padding: 5px 9px; border-radius: 8px; color: var(--ink); }

.foot { padding: 8px 0 44px; }
.foot__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); padding-left: calc(var(--gutter) + 10px); padding-right: calc(var(--gutter) + 10px); }
.foot__draft { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .card__nav { display: none; }
  .char img { height: min(97cqh, 52cqw); }
}
@media (max-width: 1100px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile .ticks { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
  /* stacked hero card: header over the stage, then the headline block, then the slide line + controls */
  .card { height: auto; container-type: inline-size; display: flex; flex-direction: column; }
  .card__top { position: absolute; top: 0; left: 0; right: 0; padding: 16px 16px 0 18px; }
  .stage { position: relative; inset: auto; height: clamp(420px, 137cqw, 680px); flex: none; }
  .word { top: 60px; font-size: 40cqw; }
  .word__track span { letter-spacing: -.01em; }
  .char img { height: calc(100% - 60px - 17cqw); }
  .char { -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 86%, transparent 100%); }
  .card__left { max-width: none; align-self: stretch; padding: 4px 22px 0; margin-top: -8px; }
  .card h1 { font-size: clamp(32px, 9cqw, 48px); margin: 8px 0 10px; }
  .sub { font-size: 16px; max-width: 46ch; }
  .actions { margin-top: 18px; }
  .card__right { width: auto; justify-self: stretch; align-self: stretch; margin: 26px 12px 12px; padding: 20px 18px 16px; border-radius: 22px; background: rgba(0, 0, 0, .12); }
  .card[data-slide="roofing"] .card__right, .card[data-slide="electric"] .card__right { background: rgba(255, 255, 255, .22); }
  .card__right { transition: background-color .6s ease; }
  .thumbs { width: 128px; height: 82px; }
  .what__top, .who__grid, .faq__grid, .audit__inner { grid-template-columns: 1fr; }
  .who__grid, .faq__grid { padding-left: var(--gutter); }
  .sec h2, .what h2, .how h2 { max-width: 11em; }
}
@media (max-width: 640px) {
  .pill { padding: 10px 15px; font-size: 13px; }
  .wordmark .wm { font-size: 13.5px; }
  .actions .btn { flex: 1 1 100%; }
  .actions .link { margin: 0 auto; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 8px 16px; font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .step__n { font-size: 64px; margin-bottom: 14px; }
  .fit { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .audit__inner { padding: 30px 14px 14px; }
  .audit__intro { padding: 0 8px; }
  .formcard { padding: 22px 18px; border-radius: 22px; }
  .btn--submit { width: 100%; }
  .tile { padding: 28px 24px 28px; border-radius: 24px; }
  .faq summary { font-size: 17px; padding: 20px 64px 20px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion: instant swaps, nothing slides or rolls ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero, .card, .card__right, .word__track, .char, .char.is-active, .char.is-out, .slide, .slide.is-active, .thumb, .thumbs, .pill, .btn { transition: none !important; }
  .bar span::after { animation: none !important; transform: scaleX(1); }
}
