/* Electricians Austin
   White page, flat colored tiles, centered two-line headings, black buttons.
   One stylesheet, mobile first, no framework. */

@font-face {
  font-family: "Golos";
  src: url("/fonts/golos.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141414;
  --ink-2: #2F2F31;
  --muted: #65656A;
  --faint: #A5A5AA;
  --line: #E8E8EA;
  --gray: #F3F3F4;
  --gray-2: #E9E9EB;
  --cream: #F5F0E8;
  --sand: #ECE3D5;
  --peach: #F5E2DB;
  --sage: #E1ECDB;
  --rose: #F8E6E3;
  --accent: #B75A39;
  --accent-2: #A44E30;
  --accent-ink: #9C4527;
  --accent-lite: #E0896B;
  --green: #2E8B57;
  --red: #D93A3F;
  --font: "Golos", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 20px;
  --max: 1200px;
  --gut: 16px;
  --top: 60px;
  --sec: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1000px) { :root { --gut: 40px; --top: 68px; --sec: 112px; --r: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 540; line-height: 1.15; letter-spacing: -.018em; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.t-ink :focus-visible, .band :focus-visible, .mbar :focus-visible, .step:last-child :focus-visible, .tone-ink :focus-visible { outline-color: #fff; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.skip:focus { top: 10px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.mute { color: #8A8A8F; }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- buttons, small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; font-size: 1rem; font-weight: 500; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn .i { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #333336; color: #fff; }
.btn--light { background: var(--gray); color: var(--ink); }
.btn--light:hover { background: var(--gray-2); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--gray); color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: inherit; }
.more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a:hover .more .i, a.more:hover .i { transform: translateX(3px); }
.kicker { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: .94rem; color: var(--muted); }
.kicker .i { width: 18px; height: 18px; color: var(--accent); stroke-width: 2; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .76rem; line-height: 1.4; }
.rich > * + * { margin-top: 12px; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich li + li { margin-top: 6px; }
.rich li::marker { color: var(--faint); }
.rich strong { font-weight: 600; }
.rich h3 { margin-top: 24px; font-size: 1.15rem; }
.rich h3 + * { margin-top: 8px; }
.rich a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- tiles ---------- */
.tile { position: relative; padding: 24px; border-radius: var(--r); background: var(--gray); color: var(--ink); }
@media (min-width: 1000px) { .tile { padding: 28px; } }
.t-gray { background: var(--gray); }
.t-cream { background: var(--cream); }
.t-peach { background: var(--peach); }
.t-sage { background: var(--sage); }
.t-orange { background: var(--accent); color: #fff; }
.t-ink { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .2s; }
.top.is-stuck { box-shadow: 0 1px 0 var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; height: var(--top); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 32px; height: 32px; }
.logo__text { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.logo__text span { color: var(--muted); }
.nav { display: none; }
.top__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top__phone { display: none; min-height: 44px; padding: 0 16px; gap: 8px; font-size: .97rem; font-variant-numeric: tabular-nums; }
.top__cta { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: .92rem; }
.top__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--gray); color: var(--ink); cursor: pointer; }
.top__icon:hover { background: var(--gray-2); color: var(--ink); }
.top__call { background: var(--ink); color: #fff; }
.top__call:hover { background: var(--ink-2); color: #fff; }
/* On a narrow phone the floating bar at the bottom carries the quote button. */
@media (max-width: 419px) {
  .top__cta { display: none; }
}
@media (min-width: 640px) {
  .top__phone { display: inline-flex; }
  .top__call { display: none; }
  .top__cta { min-height: 44px; padding: 0 18px; font-size: .97rem; }
}
@media (min-width: 1100px) {
  .nav { display: block; margin-left: 12px; }
  .nav__list { display: flex; gap: 2px; list-style: none; }
  .nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-size: .96rem; white-space: nowrap; cursor: pointer; }
  .nav__link .i { width: 16px; height: 16px; color: var(--faint); transition: transform .2s var(--ease); }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: var(--gray); color: var(--ink); }
  .nav__item.is-open > .nav__link .i { transform: rotate(180deg); }
  .nav__link[aria-current="page"] { color: var(--accent-ink); }
  .top__burger { display: none; }
}

/* dropdowns: a full-width panel under the header */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 28px 48px rgba(17, 18, 22, .1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
.nav__item.is-open .mega, html:not(.js) .nav__item:hover .mega, html:not(.js) .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .16s var(--ease), transform .16s var(--ease); }
.mega__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-block: 28px 36px; }
.mega__cols { display: grid; gap: 8px 32px; align-content: start; }
.mega__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__title { margin-bottom: 8px; font-size: .84rem; color: var(--faint); }
.mega__col ul { list-style: none; display: grid; }
.mega__col--grid ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--ink); line-height: 1.3; }
.mega__link .i { color: var(--muted); }
.mega__link:hover, .mega__link:hover .i, .mega__link[aria-current="page"] { color: var(--accent-ink); }
.mega__promo { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; color: var(--ink); }
.mega__promo:hover { color: inherit; }
.mega__promo.t-orange, .mega__promo.t-orange:hover { color: #fff; }
.mega__promo.t-orange span { opacity: 1; }
.mega__promo b { font-size: 1.18rem; font-weight: 540; line-height: 1.2; letter-spacing: -.015em; }
.mega__promo span { font-size: .93rem; line-height: 1.45; opacity: .85; }
.mega__promo .more { margin-top: auto; padding-top: 12px; font-size: 1rem; opacity: 1; }

/* mobile menu: a full-screen sheet */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #fff; opacity: 0; transform: translateY(-10px); transition: opacity .22s var(--ease), transform .22s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.sheet.is-open { opacity: 1; transform: none; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; flex: none; height: var(--top); padding-inline: var(--gut); }
.sheet__nav { flex: 1; padding: 4px var(--gut) 24px; }
.sheet__link, .sheet__group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.3rem; font-weight: 520; letter-spacing: -.015em; list-style: none; cursor: pointer; }
.sheet__link:hover { color: var(--ink); }
.sheet__group > summary::-webkit-details-marker { display: none; }
.sheet__group > summary .i { color: var(--faint); transition: transform .2s var(--ease); }
.sheet__group[open] > summary .i { transform: rotate(180deg); }
.sheet__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; padding: 10px 0 18px; border-bottom: 1px solid var(--line); }
.sheet__links a { padding: 8px 0; color: var(--ink-2); line-height: 1.3; }
.sheet__links .sheet__all { grid-column: 1 / -1; color: var(--accent-ink); }
.sheet__cta { display: grid; gap: 10px; flex: none; padding: 16px var(--gut) calc(20px + env(safe-area-inset-bottom)); }
.sheet__note { font-size: .86rem; color: var(--muted); text-align: center; }

/* ---------- hero: centered intro, then a bento of tiles ---------- */
.hero { padding-top: 24px; }
@media (min-width: 1000px) { .hero { padding-top: 40px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; font-size: .86rem; color: var(--faint); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }
.hero__intro { max-width: 920px; margin: 0 auto; text-align: center; }
.hero__title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 540; line-height: 1.05; letter-spacing: -.035em; }
.hero__lead { max-width: 690px; margin: 16px auto 0; font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.hero__actions .btn { min-width: 210px; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }
.hero__note { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .93rem; color: var(--ink-2); }
.hero__note .i { width: 18px; height: 18px; color: var(--red); }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 18px; font-size: .93rem; color: var(--ink-2); }
.hero__chips li { display: inline-flex; align-items: center; gap: 7px; }
.hero__chips .i { width: 17px; height: 17px; color: var(--green); stroke-width: 2.4; }

.bento { display: grid; gap: 12px; margin-top: 32px; }
.bento__photo { order: 0; min-height: 260px; padding: 0; overflow: hidden; background: var(--gray-2); }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__form { order: 1; }
.bento__side { order: 2; display: flex; flex-direction: column; gap: 12px; }
.bento__side > :last-child { flex: 1; }
.bento__side > :only-child { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 640px) {
  .bento--p.bento--f, .bento--f:not(.bento--p) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--p.bento--f .bento__photo { grid-column: 1 / -1; min-height: 360px; }
  .bento--p:not(.bento--f) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .bento--p:not(.bento--f) .bento__photo { min-height: 360px; }
  .bento--p:not(.bento--f):not(.bento--s) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  .bento { gap: 16px; margin-top: 44px; }
  .bento__side { order: 1; gap: 16px; }
  .bento__form { order: 2; }
  .bento--p.bento--f { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr) minmax(0, 1.05fr); }
  .bento--p.bento--f:not(.bento--s) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .bento--p.bento--f .bento__photo { grid-column: auto; min-height: 500px; }
  .bento--p:not(.bento--f) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .bento--p:not(.bento--f) .bento__photo { min-height: 440px; }
  .bento--p:not(.bento--f):not(.bento--s) { grid-template-columns: minmax(0, 1fr); }
}
.badge { display: flex; flex-direction: column; gap: 6px; }
.badge__label { font-size: .95rem; }
.badge__value { margin-top: 2px; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem); font-weight: 540; line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.badge__note { margin-top: auto; padding-top: 10px; font-size: .92rem; line-height: 1.4; }
.points { list-style: none; display: grid; gap: 14px; }
.points li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.4; }
.points .i { width: 24px; height: 24px; padding: 5px; margin-top: -1px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.8; }
.points__title { margin-bottom: 16px; font-size: .92rem; color: var(--muted); }

/* ---------- quote forms ---------- */
.leadbox { position: relative; }
.lead__title { font-size: 1.4rem; font-weight: 540; letter-spacing: -.02em; line-height: 1.2; }
.lead__sub { margin-top: 6px; font-size: .94rem; line-height: 1.45; color: var(--ink-2); opacity: .8; }
.lead__grid { display: grid; gap: 10px; margin: 18px 0 14px; }
@media (min-width: 560px) { .lead__grid--two { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: .84rem; color: var(--ink-2); opacity: .8; }
.field__label b { color: var(--red); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 14px; background: #fff; font-size: 1rem; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 18, 22, .06); -webkit-appearance: none; appearance: none; transition: box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field.is-bad input { box-shadow: inset 0 0 0 2px var(--red); }
.select { position: relative; display: block; }
.select select { padding-right: 44px; cursor: pointer; text-overflow: ellipsis; }
.select .i { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead__btn.is-busy { opacity: .6; pointer-events: none; }
.lead__msg { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #B3262B; font-size: .9rem; }
.lead__note { margin-top: 12px; font-size: .82rem; line-height: 1.4; color: var(--ink-2); opacity: .7; }
.lead__done { display: grid; place-items: center; align-content: center; gap: 10px; min-height: 300px; text-align: center; }
.lead__done:focus { outline: none; }
.lead__ok { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; }
.lead__ok .i { width: 28px; height: 28px; stroke-width: 2.6; }
.lead__done p:not(.lead__title) { max-width: 420px; color: var(--ink-2); }
.inline { display: grid; gap: 10px; }
@media (min-width: 640px) { .inline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }
.inline .field input { min-height: 56px; box-shadow: none; }
.inline .field input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.inline .field.is-bad input { box-shadow: inset 0 0 0 2px var(--red); }

/* ---------- quick facts ---------- */
.facts { margin-top: 12px; }
.facts__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1000px) { .facts { margin-top: 16px; } .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.fact { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 112px; padding: 18px 20px; border-radius: var(--r); background: var(--gray); }
.fact__label { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.fact__label .i { width: 18px; height: 18px; color: var(--ink); }
.fact__value { font-size: clamp(1.02rem, .92rem + .5vw, 1.3rem); font-weight: 540; line-height: 1.2; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.sec { padding-top: var(--sec); }
.sec--first { padding-top: 40px; }
.shead { max-width: 880px; margin: 0 auto 32px; text-align: center; }
@media (min-width: 1000px) { .shead { margin-bottom: 48px; } }
.shead__title { font-size: clamp(1.8rem, 1.2rem + 2.3vw, 3rem); font-weight: 540; line-height: 1.08; letter-spacing: -.03em; }
.shead__title .mute { display: block; }
.shead__intro { max-width: 700px; margin: 14px auto 0; font-size: 1.05rem; color: var(--muted); }
.shead__intro > * + * { margin-top: 10px; }
.bnote { max-width: 760px; margin: 24px auto 0; font-size: .93rem; color: var(--muted); text-align: center; }
.bcta { margin-top: 32px; text-align: center; }
.bcta .btn { max-width: 100%; padding-block: 10px; white-space: normal; text-align: center; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards:not(.cards--1) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { gap: 16px; } .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.cards__cell { display: flex; min-width: 0; }
.card { display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 24px; border-radius: var(--r); background: var(--gray); color: var(--ink); }
.cards > .card:nth-child(4n+2) { background: var(--cream); }
.cards > .card:nth-child(4n+3) { background: var(--peach); }
.cards > .card:nth-child(4n+4) { background: var(--sage); }
a.card { transition: transform .3s var(--ease); }
a.card:hover { color: var(--ink); transform: translateY(-4px); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: #fff; }
.card__icon .i { width: 22px; height: 22px; }
.card__title { font-size: 1.18rem; }
.card__text { font-size: .96rem; color: var(--ink-2); }
.card__meta { margin-top: auto; padding-top: 4px; font-weight: 540; }
.card .more { margin-top: auto; padding-top: 8px; }
.card .tag { align-self: flex-start; }

/* course cards: pages with a photo at the bottom */
.course { display: flex; flex-direction: column; width: 100%; min-height: 100%; padding: 22px 22px 0; overflow: hidden; border-radius: var(--r); background: var(--cream); color: var(--ink); transition: transform .3s var(--ease); }
a.course:hover { color: var(--ink); transform: translateY(-4px); }
.course--nophoto { padding-bottom: 22px; }
.cards > :nth-child(6n+2) > .course, .cards > .course:nth-child(6n+2) { background: var(--peach); }
.cards > :nth-child(6n+3) > .course, .cards > .course:nth-child(6n+3) { background: var(--sage); }
.cards > :nth-child(6n+4) > .course, .cards > .course:nth-child(6n+4) { background: var(--gray); }
.cards > :nth-child(6n+5) > .course, .cards > .course:nth-child(6n+5) { background: var(--rose); }
.cards > :nth-child(6n+6) > .course, .cards > .course:nth-child(6n+6) { background: var(--sand); }
.course__meta { font-size: .84rem; color: var(--ink-2); opacity: .7; }
.course__title { margin-top: 4px; font-size: 1.28rem; line-height: 1.15; letter-spacing: -.02em; }
.course__price { margin-top: 8px; font-weight: 540; font-variant-numeric: tabular-nums; }
.course__text { margin-top: 8px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); opacity: .82; }
.course__img { display: block; margin: auto -22px 0; padding-top: 20px; }
.course__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 639px) {
  .cards--compact .course { display: grid; grid-template-columns: minmax(0, 1fr) 88px; column-gap: 14px; align-content: start; padding: 16px; }
  .cards--compact .course > * { grid-column: 1; }
  .cards--compact .course__img { grid-column: 2; grid-row: 1 / span 4; align-self: start; margin: 0; padding: 0; }
  .cards--compact .course__img img { width: 88px; height: 88px; aspect-ratio: 1; border-radius: 14px; }
  .cards--compact .course__title { font-size: 1.12rem; }
  .cards--compact .course__text { font-size: .9rem; }
}

/* segmented filter above the service cards */
.tabs { display: flex; justify-content: center; margin: -8px 0 28px; }
.tabs__track { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--gray); }
.tabs__btn { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-size: .95rem; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.tabs__btn:hover { color: var(--ink); background: var(--gray-2); }
.tabs__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 639px) {
  .tabs { justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
}

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { gap: 16px; } .steps--3, .steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 24px; border-radius: var(--r); background: var(--gray); }
.step__n { margin-bottom: 18px; font-size: 2.8rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--faint); font-variant-numeric: tabular-nums; }
.step:last-child { background: var(--ink); color: #fff; }
.step:last-child .step__n { color: var(--accent-lite); }
.step:last-child .step__text { color: rgba(255, 255, 255, .72); }
.step:last-child .rich a { color: #fff; }
.step__title { font-size: 1.14rem; }
.step__text { font-size: .95rem; color: var(--muted); }

/* ---------- split: a text tile beside a photo tile ---------- */
.split { display: grid; gap: 12px; }
@media (min-width: 1000px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .split--flip .split__media { order: -1; } }
.split__copy { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r); background: var(--cream); }
@media (min-width: 1000px) { .split__copy { padding: 44px; } }
.split__copy .kicker { justify-content: flex-start; margin-bottom: 10px; }
.split__title { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.3rem); line-height: 1.1; letter-spacing: -.025em; }
.split__lead { margin-top: 12px; font-size: 1.07rem; }
.split__copy > .rich { margin-top: 14px; color: var(--ink-2); }
.split__copy .points { margin-top: 22px; }
.split__copy .bnote { margin: 20px 0 0; text-align: left; }
.split__copy .bcta { margin-top: 26px; text-align: left; }
.split__media { position: relative; min-height: 280px; overflow: hidden; border-radius: var(--r); background: var(--gray-2); }
@media (min-width: 1000px) { .split__media { min-height: 460px; } }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- checklist ---------- */
.checks { list-style: none; display: grid; gap: 0 40px; padding: 8px 24px; border-radius: var(--r); background: var(--cream); }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 40px; } .checks--one { grid-template-columns: minmax(0, 1fr); } }
.checks__item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(17, 18, 22, .08); }
.checks__item:last-child { border-bottom: 0; }
@media (min-width: 900px) { .checks:not(.checks--one) .checks__item:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
.checks__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: #fff; }
.checks__title { font-size: 1.05rem; }
.checks__text { margin-top: 6px; font-size: .95rem; color: var(--ink-2); }

/* block tones pick the color of the main tile */
.tone-soft { background: var(--gray); }
.tone-sand { background: var(--cream); }
.tone-blue { background: var(--peach); }
.tone-ink { background: var(--ink); color: #fff; }
.tone-ink .rich, .tone-ink .split__lead, .tone-ink .checks__text, .tone-ink .bnote { color: rgba(255, 255, 255, .74); }
.tone-ink .rich a { color: #fff; }
.tone-ink .points .i { background: var(--accent); color: #fff; }
.tone-ink .checks__icon { background: rgba(255, 255, 255, .1); color: var(--accent-lite); }
.tone-ink .checks__item { border-color: rgba(255, 255, 255, .12); }
.tone-ink .btn--dark { background: var(--accent); color: #fff; }
.tone-ink .btn--dark:hover { background: var(--accent-2); color: #fff; }
.band .kicker .i, .tone-ink .kicker .i { color: var(--accent-lite); }

/* ---------- table ---------- */
.tablewrap { overflow-x: auto; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table caption { caption-side: bottom; padding: 14px 22px; text-align: left; font-size: .86rem; color: var(--muted); background: var(--gray); }
.table th, .table td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--gray); font-size: .84rem; font-weight: 500; color: var(--muted); }
.table tbody th { font-weight: 520; }
.table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.table td:nth-child(2) { min-width: 8.5em; font-weight: 540; color: var(--ink); }
.table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 699px) {
  .table thead { display: none; }
  .table { display: flex; flex-direction: column; }
  .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table caption { order: 1; display: block; width: 100%; }
  .table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table tbody th, .table td { padding: 0; border: 0; }
  .table tbody th { padding-bottom: 8px; font-size: 1.04rem; }
  .table td { min-width: 0; white-space: normal; }
  .table td + td { margin-top: 10px; }
  .table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .84rem; font-weight: 400; color: var(--muted); }
}

/* ---------- compare ---------- */
.compare { display: grid; gap: 12px; }
@media (min-width: 800px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.compare__col { padding: 28px; border-radius: var(--r); }
.compare__col--good { background: var(--sage); }
.compare__col--bad { background: var(--peach); }
.compare__title { margin-bottom: 18px; font-size: 1.3rem; }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { display: flex; align-items: flex-start; gap: 12px; }
.compare li .i { width: 24px; height: 24px; margin-top: -1px; padding: 5px; border-radius: 50%; stroke-width: 2.8; }
.compare__col--good li .i { background: var(--ink); color: #fff; }
.compare__col--bad li .i { background: #fff; color: var(--red); }

/* ---------- prose, callout, stats ---------- */
.prosebox { max-width: 780px; margin: 0 auto; }
.prosebox .shead { text-align: left; margin-inline: 0; }
.prosebox .shead__intro { margin-inline: 0; }
.prose { font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 1.6rem; color: var(--ink); }
.prose h3 { margin-top: 28px; font-size: 1.24rem; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 10px; }
.callout { display: grid; gap: 16px; padding: 28px 24px; border-radius: var(--r); background: var(--gray); }
@media (min-width: 1000px) { .callout { grid-template-columns: 56px minmax(0, 1fr); gap: 28px; padding: 44px; } }
.callout--tip { background: var(--sage); }
.callout--warn { background: var(--accent); color: #fff; }
.callout--warn .rich a { text-decoration-color: currentColor; }
.callout__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--ink); }
.callout--warn .callout__icon { color: var(--red); }
.callout__icon .i { width: 26px; height: 26px; }
.callout__title { margin-bottom: 10px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); letter-spacing: -.022em; }
.callout .rich { max-width: 76ch; font-size: 1.02rem; }
.callout .bcta { margin-top: 22px; text-align: left; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.stat { display: flex; flex-direction: column; gap: 8px; min-height: 170px; padding: 22px; border-radius: var(--r); background: var(--gray); }
.stat__value { margin-bottom: auto; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); font-weight: 540; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 520; line-height: 1.3; }
.stat__note { font-size: .88rem; line-height: 1.45; color: var(--muted); }

/* ---------- black band ---------- */
.band { padding: 32px 24px; border-radius: var(--r); background: var(--ink); color: #fff; }
@media (min-width: 1000px) { .band { padding: 56px; } }
.band .shead { margin-bottom: 36px; }
.band .shead__title .mute, .band .shead__intro, .band .kicker { color: rgba(255, 255, 255, .56); }
.band__grid { list-style: none; display: grid; gap: 28px; }
@media (min-width: 700px) { .band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
@media (min-width: 1100px) { .band__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .band__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band__icon { display: block; margin-bottom: 16px; color: var(--accent-lite); }
.band__icon .i { width: 28px; height: 28px; stroke-width: 1.6; }
.band__title { font-size: 1.12rem; }
.band__text { margin-top: 8px; font-size: .95rem; color: rgba(255, 255, 255, .66); }
.band__text a { color: #fff; }
.band .bnote { color: rgba(255, 255, 255, .55); }

/* ---------- warning signs ---------- */
.signs { list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .signs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.sign { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--gray); }
.sign--2 { background: var(--peach); }
.sign--1 { background: var(--cream); }
.sign__level { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 10px; padding: 5px 12px 5px 9px; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 520; }
.sign__level .i { width: 15px; height: 15px; stroke-width: 2.2; }
.sign--2 .sign__level { background: var(--red); color: #fff; }
.sign--1 .sign__level .i { color: var(--accent-ink); }
.sign--0 .sign__level .i { color: var(--muted); }
.sign__title { font-size: 1.14rem; }
.sign__text { font-size: .95rem; color: var(--ink-2); }

/* ---------- city facts ---------- */
.local { display: grid; gap: 12px; }
@media (min-width: 800px) { .local { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.local__card { padding: 26px; border-radius: var(--r); background: var(--gray); }
.local__card:nth-child(4n+1) { background: var(--cream); }
.local__card:nth-child(4n+2) { background: var(--peach); }
.local__card:nth-child(4n+3) { background: var(--sage); }
.local__card:nth-child(4n+4) { background: var(--gray); }
.local__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: #fff; }
.local__title { font-size: 1.2rem; }
.local__card .rich { margin-top: 10px; font-size: .97rem; color: var(--ink-2); }
.local__where { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 800px) { .local__where { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; } }
.local__where > div { padding: 26px; border-radius: var(--r); background: var(--gray); }
.local__sub { margin-bottom: 14px; font-size: .92rem; font-weight: 500; color: var(--muted); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 7px 14px; border-radius: 999px; background: #fff; font-size: .93rem; font-variant-numeric: tabular-nums; }

/* ---------- service area: photo tiles ---------- */
.towns { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.towns > li { display: flex; min-width: 0; }
.town--austin { grid-column: 1 / -1; }
@media (min-width: 800px) { .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .towns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .town--austin { grid-column: span 2; grid-row: span 2; } }
.town__in { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 150px; padding: 16px; overflow: hidden; border-radius: var(--r); background: var(--gray-2); color: #fff; }
@media (min-width: 1000px) { .town__in { min-height: 200px; padding: 20px; } }
.town__in img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.town__in::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 18, 22, 0) 38%, rgba(17, 18, 22, .72)); }
a.town__in:hover { color: #fff; }
a.town__in:hover img { transform: scale(1.05); }
.town__name { font-size: 1.15rem; font-weight: 540; line-height: 1.15; }
.town__meta { font-size: .84rem; opacity: .85; }
.town--here .town__in { outline: 3px solid var(--accent); outline-offset: -3px; }
.town--here .town__meta { color: var(--accent-lite); opacity: 1; }
.town--austin .town__in { justify-content: space-between; gap: 18px; background: var(--ink); }
.town--austin .town__in::after { display: none; }
.town--austin .town__name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.03em; }
.town__hoods { font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.town__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.town__top .i { width: 28px; height: 28px; color: var(--accent); }

/* ---------- price picker ---------- */
.calc { display: grid; gap: 24px; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; } }
.calc__copy .shead { margin: 0; text-align: left; }
.calc__copy .shead__intro { margin-inline: 0; }
.calc__copy .bnote { margin: 18px 0 0; text-align: left; }
.calc__copy .bcta { text-align: left; margin-top: 26px; }
.calc__panel { display: grid; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--gray); }
@media (min-width: 1000px) { .calc__panel { padding: 36px; } }
.calc__label { font-size: .88rem; color: var(--muted); }
.calc__opts { list-style: none; display: grid; gap: 8px; }
.calc__opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .15s, color .15s; }
.calc__opt span { line-height: 1.3; }
.calc__opt b { font-weight: 540; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__opt:hover { background: var(--gray-2); }
.calc__out { display: none; }
.js .calc__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479px) { .js .calc__opts { grid-template-columns: minmax(0, 1fr); } }
.js .calc__opt { min-height: 62px; }
.js .calc__opt b { display: none; }
.js .calc__opt[aria-pressed="true"] { background: var(--ink); color: #fff; }
.js .calc__out { display: block; padding-top: 20px; border-top: 1px solid var(--gray-2); }
.calc__price { margin-top: 4px; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.5rem); font-weight: 520; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc__note { margin-top: 8px; color: var(--muted); }
.calc__link { margin-top: 14px; color: var(--ink); }

/* ---------- commitments and reviews ---------- */
.promise { list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .promise { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.promise__item { display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 24px; border-radius: var(--r); background: var(--gray); }
.promise__item:nth-child(4n+1) { background: var(--rose); }
.promise__item:nth-child(4n+2) { background: var(--cream); }
.promise__item:nth-child(4n+3) { background: var(--sage); }
.promise__item:nth-child(4n+4) { background: var(--peach); }
.promise__icon { margin-bottom: auto; padding-bottom: 28px; }
.promise__icon .i { width: 30px; height: 30px; stroke-width: 1.6; }
.promise__title { font-size: 1.14rem; }
.promise__text { font-size: .95rem; color: var(--ink-2); }
.reviews { list-style: none; display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.review { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--gray); }
.review__stars { display: flex; gap: 2px; }
.review__stars .i { width: 18px; height: 18px; fill: var(--accent); stroke: none; }
.review__who { margin-top: auto; font-size: .93rem; color: var(--muted); }
.review__who b { color: var(--ink); font-weight: 540; }
.review__src { font-size: .84rem; color: var(--faint); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; max-width: 880px; margin: 0 auto; }
.faq__item { border-radius: var(--r); background: var(--gray); transition: background-color .2s; }
.faq__item[open] { background: var(--cream); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; font-size: 1.05rem; font-weight: 520; line-height: 1.4; list-style: none; cursor: pointer; }
@media (min-width: 1000px) { .faq__item summary { padding: 22px 28px; font-size: 1.12rem; } }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.faq__icon .i { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { max-width: 74ch; padding: 0 22px 22px; color: var(--ink-2); }
@media (min-width: 1000px) { .faq__a { padding: 0 28px 26px; } }
.faq__more { margin-top: 24px; text-align: center; color: var(--muted); }

/* ---------- closing block ---------- */
.final { display: grid; gap: 36px; padding: 32px 24px; border-radius: var(--r); background: var(--accent); color: #fff; }
@media (min-width: 1000px) { .final { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 72px; padding: 64px; } }
.final__title { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.03em; }
.final__lead { max-width: 580px; margin: 14px 0 26px; font-size: 1.05rem; }
.final__phone { display: inline-block; margin-top: 18px; color: #fff; }
.final__phone b { color: #fff; font-weight: 540; font-variant-numeric: tabular-nums; }
.final__phone:hover { color: #fff; text-decoration: underline; }
.final__more h3 { font-size: 1.35rem; }
.final__more ul { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.final__more a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.final__more a .i { width: 16px; height: 16px; opacity: .8; }
.final__more a:hover { color: #fff; text-decoration: underline; }
.final .lead__note { color: #fff; opacity: 1; }
.final .lead__done { min-height: 0; padding: 28px 24px; border-radius: 20px; background: #fff; color: var(--ink); }

/* ---------- guides ---------- */
.ahead { max-width: 920px; margin: 0 auto; padding-top: 24px; text-align: center; }
@media (min-width: 1000px) { .ahead { padding-top: 40px; } }
.ahead__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.ahead__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ahead__meta .i { width: 16px; height: 16px; }
.abanner { position: relative; margin-top: 28px; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--gray-2); }
@media (min-width: 800px) { .abanner { aspect-ratio: 21 / 8; margin-top: 40px; } }
.abanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article__grid { display: grid; gap: 28px; padding-top: 40px; }
@media (min-width: 1000px) { .article__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-top: 64px; } }
.article__aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1000px) { .article__aside { position: sticky; top: calc(var(--top) + 24px); max-height: calc(100vh - var(--top) - 48px); overflow: auto; } }
.toc__title { margin-bottom: 10px; font-size: .86rem; color: var(--muted); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; color: var(--muted); font-size: .94rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-left-color: var(--ink); color: var(--ink); }
.asidecta { display: none; gap: 12px; padding: 22px; border-radius: 20px; background: var(--sage); }
@media (min-width: 1000px) { .asidecta { display: grid; } }
.asidecta__title { font-size: 1.1rem; font-weight: 540; line-height: 1.25; }
.asidecta p { font-size: .93rem; color: var(--ink-2); }
.asidecta__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); font-weight: 500; }
.article__body { min-width: 0; max-width: 780px; }
.ablock + .ablock { margin-top: 56px; }
.ablock .shead { margin: 0 0 22px; text-align: left; }
.ablock .shead__intro { margin-inline: 0; }
.ablock .shead__title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); }
.ablock .shead__title .mute { display: inline; }
.ablock .bnote { margin-inline: 0; text-align: left; }
.ablock .bcta { text-align: left; }
.ablock .prosebox { max-width: none; }
.ablock .split { grid-template-columns: minmax(0, 1fr); }
.ablock .split__media { min-height: 260px; order: -1; }
.ablock .split__copy { padding: 28px; }
@media (min-width: 1000px) { .ablock .cards, .ablock .steps, .ablock .signs, .ablock .stats, .ablock .promise { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 900px) { .ablock .checks { grid-template-columns: minmax(0, 1fr); padding: 8px 28px; } .ablock .checks .checks__item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid rgba(17, 18, 22, .08); } }
.ablock .band { padding: 32px; }
.ablock .band__grid { grid-template-columns: minmax(0, 1fr); }
.ablock--tone .callout, .ablock--tone .band { margin: 0; }
.sources { margin-top: 56px; padding: 26px; border-radius: var(--r); background: var(--gray); }
.sources__title { margin-bottom: 12px; font-size: 1.1rem; }
.sources ul { display: grid; gap: 6px; padding-left: 1.2em; font-size: .93rem; }
.sources a { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.disclaimer { margin-top: 20px; font-size: .86rem; color: var(--muted); }

/* ---------- quote page ---------- */
.qgrid { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 1000px) { .qgrid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 16px; margin-top: 44px; } }
@media (min-width: 1000px) { .qform { padding: 40px; } }
.qside { display: grid; gap: 12px; align-content: start; }
@media (min-width: 1000px) { .qside { gap: 16px; } }
.qtile { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r); background: var(--gray); color: var(--ink); }
.qtile b { font-size: 1.35rem; font-weight: 540; letter-spacing: -.02em; overflow-wrap: anywhere; }
.qtile span { font-size: .93rem; color: var(--ink-2); }
a.qtile:hover { color: var(--ink); }
.qtile--call { background: var(--ink); color: #fff; }
.qtile--call:hover { color: #fff; }
.qtile--call span { color: rgba(255, 255, 255, .7); }
.qtile--mail { background: var(--peach); }
.qtile--steps { background: var(--sage); }
.qtile--warn { background: var(--peach); }
.qtile--warn b { font-size: 1.1rem; }
.qsteps { list-style: none; counter-reset: q; display: grid; gap: 14px; }
.qsteps li { position: relative; padding-left: 40px; font-size: .95rem; color: var(--ink-2); counter-increment: q; }
.qsteps li::before { content: counter(q); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; }
.qsteps b { display: block; color: var(--ink); font-weight: 540; }

/* ---------- legal and simple pages ---------- */
.legal { max-width: calc(780px + 2 * var(--gut)); padding-top: 32px; }
.legal .crumbs ol { justify-content: flex-start; }
.legal__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -.03em; }
.legal__meta { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.legal .prose { margin-top: 28px; }
.legal .prose h2 { font-size: 1.35rem; }
.simple { max-width: calc(720px + 2 * var(--gut)); padding-top: 48px; text-align: center; }
.simple__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 24px; border-radius: 24px; background: var(--sage); color: var(--ink); }
.simple__icon .i { width: 34px; height: 34px; stroke-width: 2; }
.simple__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.035em; }
.simple__lead { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
.simple__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* ---------- footer ---------- */
.foot { margin-top: var(--sec); padding: 56px 0 calc(104px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .94rem; }
@media (min-width: 1000px) { .foot { padding-bottom: 40px; } }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; } }
.foot__about { grid-column: 1 / -1; display: grid; align-content: start; gap: 10px; max-width: 420px; }
@media (min-width: 1000px) { .foot__about { grid-column: auto; } }
.foot__about > p:first-of-type { color: var(--muted); }
.foot__phone { margin-top: 6px; color: var(--ink); font-size: 1.5rem; font-weight: 540; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.foot__phone:hover { color: var(--accent-ink); }
.foot__small { font-size: .88rem; color: var(--muted); }
.foot__small a { color: var(--ink-2); }
.foot__title { margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot ul a { color: var(--ink-2); line-height: 1.35; }
.foot ul a:hover { color: var(--accent-ink); }
.foot__legal { display: grid; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.foot__legal a { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ---------- phone bar on small screens ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: var(--ink); box-shadow: 0 12px 32px rgba(17, 18, 22, .28); transition: transform .25s var(--ease), opacity .25s; }
.mbar .btn { min-height: 48px; padding: 0 12px; border-radius: 15px; }
.mbar__call { background: none; color: #fff; }
.mbar__call:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mbar--two { grid-template-columns: 1fr 1fr; }
.mbar:not(.mbar--two) { padding: 0; background: none; box-shadow: none; }
.mbar:not(.mbar--two) .btn { min-height: 52px; border-radius: 16px; box-shadow: 0 10px 28px rgba(17, 18, 22, .24); }
.mbar.is-hidden { transform: translateY(140%); opacity: 0; }
@media (min-width: 1000px) { .mbar { display: none; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media print {
  .top, .mbar, .sheet, .final, .bento__form, .asidecta { display: none !important; }
}
