/* HanDI: Your Digital Handyman
   Tokens and layout per the approved design handoff. */

/* Self-hosted variable fonts (latin subset), no third-party request on load. */
@font-face {
  font-family: 'Familjen Grotesk';
  src: url('assets/fonts/familjen-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --amber: #E9B44C;
  --amber-deep: #B27F1C;
  --amber-deeper: #8F6410;  /* AA-safe amber on Paper (4.66:1) */
  --amber-hover: #DCA53A;      /* amber darkened ~8% for hover */
  --ink: #23272E;
  --ink-2: #1C2026;
  --paper: #F4F1EC;
  --white: #FFFFFF;
  --steel-dark: #8E9299;       /* secondary text on dark */
  --steel-light: #5A5E66;      /* secondary text on light */
  --nav-link: #C9CCD2;
  --border: #E3DED4;

  --display: 'Familjen Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: 56px;
  --nav-h: 90px;
  --ease: 170ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--amber-deeper); }
a:hover { color: var(--ink); }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:where(a):focus-visible,
:where(button):focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber-deeper);   /* #B27F1C is only 3.13:1 at 13px, fails AA */
}

.h1__accent { color: var(--amber-deep); }

.h1 {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-top: 16px;
}

.h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.h2--invert { font-size: 38px; color: var(--paper); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color var(--ease), color var(--ease), transform var(--ease), border-color var(--ease);
}

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  font-size: 17px;
  padding: 16px 32px;
}
.btn--primary:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--lg { font-size: 18px; padding: 16px 40px; }

.btn--outline {
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 17px;
  padding: 14px 30px;
}
.btn--outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

.btn--pill {
  background: var(--amber);
  color: var(--ink);
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn--pill:hover { background: var(--amber-hover); }

.pricing__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo { display: block; line-height: 0; }
.nav__lockup { width: 196px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: var(--nav-link);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--ease);
}
.nav__link:hover { color: var(--amber); }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(244,241,236,0.22);
  border-radius: 10px;
  cursor: pointer;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; }
.nav__bars::before { transform: translateY(-6px); }
.nav__bars::after { transform: translateY(6px); }
body.nav-open .nav__bars { background: transparent; }
body.nav-open .nav__bars::before { transform: rotate(45deg); }
body.nav-open .nav__bars::after { transform: rotate(-45deg); }

.mobilebar { display: none; }

/* ---------- Hero (full-bleed) ---------- */

.hero-band {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 72px var(--gutter);
  background: var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  z-index: 0;
}

/* scrim keeps the copy on solid Paper no matter how the art crops */
.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      var(--paper) 0%,
      var(--paper) 28%,
      rgba(244,241,236,0.88) 44%,
      rgba(244,241,236,0) 64%);
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__copy {
  max-width: 560px;
  text-align: center;
}

.hero__lede {
  font-size: 18px;
  color: var(--steel-light);
  max-width: 680px;
  margin: 18px auto 28px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}
.trust__item strong { color: var(--amber-deeper); }

.trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: var(--steel-light);
  font-size: 13px;
  font-weight: 600;
}
.hero > .trust {
  width: 100%;
  justify-content: center;
}

/* dark hero, matches the shared-link social card */

.hero-band--dark { background: var(--ink); }

/* The headline is centered, so the contrast layer must be centered too. A soft
   vignette quiets the busy outer artwork without making either side feel heavier. */
.hero-band--dark::after {
  background:
    linear-gradient(180deg,
      rgba(35,39,46,0.58) 0%,
      rgba(35,39,46,0.30) 44%,
      rgba(35,39,46,0.54) 100%),
    radial-gradient(ellipse at 50% 43%,
      rgba(35,39,46,0.18) 0%,
      rgba(35,39,46,0.36) 62%,
      rgba(35,39,46,0.58) 100%);
}

.hero-band--dark .eyebrow { color: var(--amber); }
.hero-band--dark .h1 { color: var(--paper); }
.hero-band--dark .h1__accent { color: var(--amber); }
.hero-band--dark .hero__lede { color: var(--nav-link); }

.hero-band--dark .btn--outline {
  border-color: var(--paper);
  color: var(--paper);
}
.hero-band--dark .btn--outline:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-band--dark .trust { color: var(--steel-dark); }
.hero-band--dark .trust__item {
  background: rgba(244,241,236,0.06);
  border-color: rgba(244,241,236,0.18);
  color: var(--nav-link);
}
.hero-band--dark .trust__item strong { color: var(--amber); }
.hero-band--dark .trust__item a { color: var(--amber); }

/* the "what do you need done?" search, now inside the dark hero */

.sg__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 34px;
}
.sg--hero {
  width: min(100%, 1120px);
  margin: 18px auto 0;
  text-align: left;
}
.hero__search {
  width: min(100%, 1240px);
  margin: 34px auto 0;
  text-align: center;
}

.hero-band--dark .sg__title { color: var(--paper); }
.hero-band--dark .sg__hint { color: var(--nav-link); }
.hero-band--dark .chip {
  background: rgba(35,39,46,0.74);
  border-color: rgba(244,241,236,0.24);
  color: var(--paper);
}
.hero-band--dark .chip:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.hero-band--dark .sg__browse a { color: var(--amber); }

@media (min-width: 901px) {
  .home .hero-band {
    min-height: 1000px;
    height: 100svh;
  }
  .home .hero__bg {
    left: 0;
    width: 100%;
    object-position: center;
    transform: translateY(-8%);
  }
  .home .hero {
    min-height: calc(100svh - var(--nav-h) - 144px);
  }
  .home .hero__copy {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100%, 760px);
    max-width: 760px;
    transform: translateX(-50%);
  }
  .home .hero__search {
    width: min(100%, 920px);
    margin-top: clamp(400px, 38vh, 520px);
  }
  .home .hero__search .sg--hero {
    width: min(100%, 680px);
  }
  .home .hero__search .hero__lede {
    margin: 12px auto 18px;
  }
  .home .hero__search .sg__hint {
    margin-top: 18px;
  }
  .home .hero__search .sg__browse {
    margin-top: 12px;
  }
  .home .hero > .trust {
    margin-top: 12px;
  }
  .hero__search .chips {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
  }

  /* ---------- Homepage: hero art runs to the top, behind the nav ---------- */
  /* The nav is a sticky bar in normal flow, so the hero is pulled up by exactly
     its height and given that height back as padding. Scoped to .home because the
     interior pages share this nav but have no hero for it to sit over. */

  .home .hero-band {
    margin-top: calc(-1 * var(--nav-h));
    padding-top: calc(var(--nav-h) + 72px);
  }
  /* The hero sits under a full-bleed nav, so its content lines up with the logo
     rather than with the centred 1160px measure the content bands use.
     .hero__copy keeps its own max-width, so line length is still readable. */
  .home .hero { max-width: none; margin-left: 0; margin-right: 0; }
  .home .nav {
    background: transparent;
    transition: background var(--ease);
  }
  /* Keeps the nav links legible where they cross the artwork. Sits behind the
     links but in front of the hero, since .nav's z-index makes a stacking context. */
  .home .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(35,39,46,0.95) 0%,
        rgba(35,39,46,0.74) 55%,
        rgba(35,39,46,0) 100%);
    transition: opacity var(--ease);
  }
  /* Past the hero the nav sits over white bands, so it goes solid. */
  .home .nav--solid { background: var(--ink); }
  .home .nav--solid::before { opacity: 0; }
  /* The open mobile menu needs a solid backdrop whatever is behind it. */
  .home body.nav-open .nav,
  body.nav-open .home .nav,
  .home .nav.is-open { background: var(--ink); }
}

/* ---------- Bands ---------- */

.band { padding: 80px var(--gutter); }

.band--white {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wrap { max-width: var(--wrap); margin: 0 auto; }

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border-radius: 14px;
  padding: 28px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.card--paper { background: var(--paper); }

.card--outlined {
  background: var(--white);
  border: 1px solid var(--border);
}

.card__num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--amber-deep);
  margin-bottom: 8px;
}

/* ---------- How it works journey ---------- */

.how {
  background:
    radial-gradient(circle at 50% 0%, rgba(233,180,76,0.16), transparent 34%),
    var(--paper);
}
.how__lede { max-width: 720px; }
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  list-style: none;
}
.how__steps::before {
  content: "";
  position: absolute;
  top: 172px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deeper), var(--amber));
  opacity: 0.65;
}
.how__card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 26px 28px;
  box-shadow: 0 18px 48px rgba(35,39,46,0.09);
}
.how__visual {
  margin: 0 -26px 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.how__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.how__card .card__num {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--paper);
  box-shadow: 0 6px 18px rgba(35,39,46,0.22);
}
.how__card .card__title { font-size: 23px; }
.how__detail {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--steel-light);
  font-size: 14px;
  line-height: 1.55;
}
.how__detail strong { color: var(--ink); }
.how__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--nav-link);
}
.how__footer p { max-width: 760px; }
.how__footer strong { color: var(--paper); }
.how__footer .btn { flex: none; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  margin-bottom: 16px;
}
.card__icon svg { fill: var(--amber-deeper); }
.card--paper .card__icon { background: var(--white); }

.card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}

.card__body {
  color: var(--steel-light);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.card--outlined .card__body { margin-top: 8px; }

.h3--tight { margin-top: 34px; font-size: 18px; letter-spacing: 0.3px; }
.linklist--tight li { font-size: 14px; padding: 6px 0; }
.band__more { margin-top: 30px; }
.btn--sm { font-size: 15px; padding: 12px 24px; }

/* ---------- US tile map ---------- */

.usmap { margin: 34px 0 8px; max-width: 720px; }
.usmap svg { width: 100%; height: auto; overflow: visible; }

.usmap__tile {
  cursor: pointer;
  animation: tileIn 480ms cubic-bezier(.2,.7,.3,1) both;
  animation-delay: var(--d, 0ms);
}
.usmap__tile rect {
  fill: var(--white);
  stroke: var(--border);
  stroke-width: 1.5;
  transition: fill 160ms ease, stroke 160ms ease;
}
.usmap__tile text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  fill: var(--steel-light);
  transition: fill 160ms ease;
  pointer-events: none;
}
.usmap__tile:hover rect,
.usmap__tile:focus-visible rect {
  fill: var(--amber);
  stroke: var(--amber-deep);
}
.usmap__tile:hover text,
.usmap__tile:focus-visible text { fill: var(--ink); }
.usmap__tile:focus-visible { outline: none; }
.usmap__tile:focus-visible rect { stroke: var(--ink); stroke-width: 3; }

@keyframes tileIn {
  from { opacity: 0; transform: translateY(10px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

.usmap__hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--steel-light);
}

@media (max-width: 640px) {
  .usmap { margin: 24px 0 4px; max-width: none; }
  .usmap__tile text { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .usmap__tile { animation: none; }
}

/* ---------- Practical-use search, audits, directory ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap--mid { max-width: 900px; }

/* --- search --- */
.band--ask { background: var(--white); border-bottom: 1px solid var(--border); }

.sg { position: relative; margin-top: 28px; }

.sg__box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.sg__box:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(233,180,76,0.22);
}
.sg__icon { color: var(--steel-light); flex: none; }
.sg__box--textarea { align-items: flex-start; }
.sg__box--textarea .sg__icon { margin-top: 23px; }

.sg__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink);
  padding: 20px 0;
  min-width: 0;
}
.sg__box--textarea .sg__input {
  min-height: 96px;
  line-height: 1.5;
  resize: none;
}
.sg__input:focus { outline: none; }
.sg__input::placeholder { color: #7f838a; }

.sg__list {
  position: absolute;
  z-index: 40;
  left: 0; right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(35,39,46,0.16);
  padding: 6px;
  max-height: 62vh;
  overflow-y: auto;
}
.sg__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  min-height: 46px;
}
.sg__opt.is-active, .sg__opt:hover { background: var(--paper); }
.sg__label { color: var(--ink); }
.sg__cat {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sg__opt--all {
  justify-content: flex-start;
  font-weight: 700;
  font-family: var(--display);
  color: var(--amber-deeper);
  border-top: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  margin-top: 4px;
}

.sg__hint {
  margin-top: 26px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-light);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px auto 0;
}
.chip {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.chip:hover { background: var(--amber); border-color: var(--amber); transform: translateY(-1px); }

/* --- flexible card grid --- */
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

/* --- ink band (audits) --- */
.band--ink { background: var(--ink); }
.band--ink .h2--invert { margin-top: 6px; }
.band--ink .eyebrow { color: var(--amber); }
.band--ink .band__lede, .band--ink .band__lede--invert { color: var(--nav-link); }

.card--ink {
  background: rgba(244,241,236,0.05);
  border: 1px solid rgba(244,241,236,0.16);
  display: flex;
  flex-direction: column;
}
.card--ink .card__title { color: var(--paper); }
.card--ink .card__body { color: var(--nav-link); }
.card__cta {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--amber);
  text-decoration: none;
}
.card__cta:hover { color: var(--paper); text-decoration: underline; }

.btn--ghost { border: 2px solid rgba(244,241,236,0.35); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

.smallprint {
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel-dark);
  max-width: 720px;
}
.band .smallprint, .band--white .smallprint { color: var(--steel-light); }
.band--ink .smallprint { color: var(--steel-dark); }

/* --- directory --- */
.dir__tools { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.dir__filter {
  flex: 1 1 280px;
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
}
.dir__filter:focus { outline: none; border-color: var(--amber); }
.dir__note { margin-top: 14px; font-size: 14px; color: var(--steel-light); }

.dir { margin-top: 22px; columns: 2; column-gap: 24px; }
.dir__cat {
  break-inside: avoid;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--paper);
}
.dir__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  min-height: 52px;
}
.dir__sum::-webkit-details-marker { display: none; }
.dir__sum::after {
  content: "+";
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--amber-deeper);
  flex: none;
}
.dir__cat[open] > .dir__sum::after { content: "\2212"; }
.dir__name { font-family: var(--display); font-weight: 700; font-size: 16px; }
.dir__count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--steel-light); }
.dir__list { padding: 0 18px 4px; }
.dir__item { border-top: 1px solid var(--border); }
.dir__job {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  padding: 11px 0;
  cursor: pointer;
  min-height: 44px;
}
.dir__job:hover { color: var(--amber-deeper); }
.dir__more { padding: 10px 18px 16px; font-size: 13px; }

/* --- picked job --- */
.picked {
  background: rgba(233,180,76,0.12);
  border: 1px solid rgba(233,180,76,0.4);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 34px;
  text-align: center;
}
.picked__kicker {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}
.picked__label {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  margin: 8px 0 18px;
}

/* --- audit page lists --- */
.ticks, .crosses { margin-top: 16px; }
.ticks li, .crosses li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 16px;
  color: var(--steel-light);
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute; left: 2px; top: 15px;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--amber-deeper);
  border-bottom: 2.5px solid var(--amber-deeper);
  transform: rotate(-45deg);
}
.ticks--plain li::before { display: none; }
.ticks--plain li { padding-left: 0; }
.ticks--plain strong { color: var(--ink); font-weight: 600; }
.crosses li::before {
  content: "\00d7";
  position: absolute; left: 4px; top: 5px;
  font-size: 18px; font-weight: 700; color: #8b8f96;
}

@media (min-width: 1600px) {
  .home .hero__search {
    width: min(100%, 1500px);
  }
  .home .hero__search .chips {
    grid-template-columns: repeat(8, max-content);
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  .home .hero__copy {
    top: 70px;
  }
  .home .hero__bg {
    transform: translateY(-4%);
  }
}

@media (max-width: 900px) {
  .dir { columns: 1; }
  .sg__input { font-size: 17px; padding: 17px 0; }
}
@media (max-width: 640px) {
  .sg__input { font-size: 16px; }
  .sg__cat { display: none; }
  .modes span { font-size: 11px; padding: 4px 10px; }
  .picked__label { font-size: 19px; }
}

/* ---------- Suggestion + directory rows with icon and description ---------- */

.sg__opt {
  align-items: flex-start;
  gap: 14px;
  padding: 13px 14px;
}
.sg__ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--amber-deeper);
}
.sg__text { flex: 1; min-width: 0; }
.sg__label { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.sg__desc {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--steel-light);
}
.sg__cat { align-self: center; }

.sg__opt--all { align-items: center; }
.sg__opt--all .sg__ico { display: none; }

.sg__browse {
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

/* directory */
.dir__ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--white);
  color: var(--amber-deeper);
}
.dir__name { flex: 1; }

.dir__job {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}
.dir__jobico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--white);
  color: var(--amber-deeper);
}
.dir__jobico svg { width: 18px; height: 18px; }
.dir__jobtext { flex: 1; min-width: 0; }
.dir__joblabel { display: block; font-weight: 600; line-height: 1.4; }
.dir__jobdesc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--steel-light);
}
.dir__job:hover .dir__joblabel { color: var(--amber-deeper); }
.dir__job:hover .dir__jobico { background: var(--amber); color: var(--ink); }

.picked__desc {
  color: var(--nav-link);
  font-size: 15px;
  line-height: 1.5;
  margin: -8px 0 18px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .sg__ico { width: 32px; height: 32px; }
  .sg__ico svg { width: 18px; height: 18px; }
  .sg__desc { font-size: 13px; }
}

/* ---------- Estimates on jobs ---------- */

.est {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 74px;
  margin-left: 4px;
}
.est__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.1;
}
.est__hours {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--steel-light);
  white-space: nowrap;
}

.sg__opt .est { align-self: center; }
.dir__job .est { align-self: center; }
.dir__job:hover .est__price { color: var(--amber-deeper); }

.picked__est {
  color: var(--nav-link);
  font-size: 14px;
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 auto 20px;
}
.picked__est strong { color: var(--amber); font-size: 17px; }

.steps--pricing li { font-size: 16.5px; padding-bottom: 14px; }

@media (max-width: 640px) {
  .est { min-width: 0; }
  .est__price { font-size: 14px; }
  .est__hours { font-size: 11px; }
}

.picked__note {
  color: var(--paper);
  background: rgba(233,180,76,0.16);
  border: 1px solid rgba(233,180,76,0.45);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 14px;
  margin: 0 auto 16px;
  max-width: 52ch;
}

/* ---------- Promo banner, ways to pay, coupon ---------- */

.promo {
  background: var(--ink);
  border-radius: 16px;
  padding: 30px 32px;
  margin-bottom: 44px;
}
.promo__tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  border-radius: 999px;
  padding: 5px 12px;
}
.promo__h {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--paper);
  margin-top: 14px;
  line-height: 1.15;
}
.promo__h span { color: var(--amber); }
.promo__body {
  color: var(--nav-link);
  font-size: 16.5px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 62ch;
}
.promo__body strong { color: var(--amber); }
.promo__terms {
  color: var(--steel-dark);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 62ch;
}

/* ways to pay */
.ways { margin-top: 30px; }
.way { display: flex; flex-direction: column; }
.way__kind {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--steel-light);
}
.way__rate {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 8px;
}
.way__rate span { font-size: 15px; font-weight: 600; color: var(--steel-light); }
.way__rate s {
  font-size: 20px;
  color: var(--steel-light);
  text-decoration-thickness: 2px;
  margin-right: 6px;
}
.way--promo { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(233,180,76,0.16); }
.way--promo .way__rate { color: var(--amber-deeper); }
.way__note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber-deeper);
}

.tiers { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tier {
  flex: 1 1 auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  background: var(--paper);
}
.tier__h {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.tier__mo { display: block; font-size: 13px; font-weight: 600; color: var(--steel-light); }
.tier__mo span { font-size: 11px; }

/* struck-through job prices */
.est--promo .est__was {
  display: block;
  font-size: 11.5px;
  color: var(--steel-light);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  line-height: 1.1;
}
.est--promo .est__price { color: var(--amber-deeper); }

.picked__est s { color: var(--steel-dark); text-decoration-thickness: 2px; }

/* coupon */
.coupon {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  max-width: 520px;
}
.coupon__label {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 10px;
}
.coupon__row { display: flex; gap: 10px; flex-wrap: wrap; }
.coupon__input {
  flex: 1 1 220px;
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
  text-transform: uppercase;
}
.coupon__input:focus { outline: none; border-color: var(--amber); }
.coupon__msg { margin-top: 10px; font-size: 14px; color: var(--steel-light); min-height: 1.2em; }
.coupon__msg--ok { color: var(--amber-deeper); font-weight: 600; }

@media (max-width: 640px) {
  .promo { padding: 24px 20px; }
  .promo__h { font-size: 24px; }
  .way__rate { font-size: 30px; }
}

.buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.buy__card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.buy__kind {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--steel-light);
}
.buy__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.buy__select {
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
}
.buy__select:focus { outline: none; border-color: var(--amber); }
.buy__total { font-size: 15px; color: var(--steel-light); line-height: 1.5; }
.buy__total strong { font-family: var(--display); font-size: 22px; color: var(--ink); }
.buy__total s { color: var(--steel-light); text-decoration-thickness: 2px; }
.buy__card .btn { align-self: flex-start; margin-top: auto; }
.buy__pending {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--steel-light);
  background: var(--paper);
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  max-width: 70ch;
}
.way__cta { margin-top: auto; padding-top: 16px; }

/* ---------- Sign-up form ---------- */

.signup { margin-top: 30px; }

.fs {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px 26px;
  margin: 0 0 20px;
  background: var(--white);
}
.fs__legend {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--amber-deeper);
  padding: 0 8px;
}
.fs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.fld { display: flex; flex-direction: column; gap: 6px; }
.fld--wide { grid-column: 1 / -1; }
.fld > span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.fld > span b { color: var(--amber-deeper); }
.fld input,
.fld select,
.fld textarea {
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
  width: 100%;
}
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.fld input:focus,
.fld select:focus,
.fld textarea:focus { outline: none; border-color: var(--amber); }
.fld input:invalid:not(:placeholder-shown) { border-color: #b4552f; }

.signup__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel-light);
  max-width: 62ch;
}
.signup__msg {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-deeper);
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding: 72px var(--gutter) 28px;
  background: var(--ink);
  color: var(--nav-link);
  border-top: 4px solid var(--amber);
}
.footer__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,180,76,0.2), transparent 68%);
  pointer-events: none;
}
.footer__picked {
  position: relative;
  margin: 0 auto 48px;
  background: rgba(233,180,76,0.1);
}
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(130px, 0.65fr)) minmax(260px, 1fr);
  gap: 52px;
  align-items: start;
}
.footer__brand { max-width: 360px; }
.footer__logo { display: inline-block; }
.footer__logo img { display: block; width: 210px; height: auto; }
.footer__brand p {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.7;
}
.footer__email {
  display: inline-block;
  margin-top: 18px;
  color: var(--amber);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.footer__group { display: grid; gap: 12px; }
.footer__heading,
.footer__eyebrow {
  margin-bottom: 6px;
  color: var(--amber);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.footer__group a {
  width: fit-content;
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
}
.footer__group a:hover,
.footer__link:hover { color: var(--amber); }
.footer__cta {
  padding: 26px;
  border: 1px solid rgba(244,241,236,0.14);
  border-radius: 18px;
  background: rgba(244,241,236,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.footer__cta h2 {
  margin-top: 10px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
}
.footer__cta p { margin: 12px 0 20px; font-size: 14px; line-height: 1.55; }
.footer__cta .btn { width: 100%; text-align: center; }
.footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,241,236,0.13);
  font-size: 13px;
}
.footer__bottom a { color: var(--amber); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__link { color: var(--nav-link); text-decoration: none; }

/* ---------- Recurring work ---------- */

.recurring {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(233,180,76,0.18), transparent 27%),
    var(--paper);
}
.recurring::before,
.recurring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(178,127,28,0.18);
  border-radius: 50%;
  pointer-events: none;
}
.recurring::before { width: 280px; height: 280px; left: -150px; bottom: -170px; }
.recurring::after { width: 180px; height: 180px; right: -90px; top: -105px; }
.recurring__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: center;
}
.recurring__copy .band__lede { max-width: 590px; }
.recurring__flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.recurring__flow span {
  display: grid;
  gap: 3px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.recurring__flow span b {
  color: var(--amber-deeper);
  font-size: 10px;
  letter-spacing: 1.5px;
}
.recurring__flow i {
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: var(--border);
}
.recurring__flow .is-accent {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--amber);
}
.recurring__flow .is-accent b { color: rgba(35,39,46,0.66); }
.recurring__tasks {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(244,241,236,0.12);
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(35,39,46,0.18);
}
.recurring__robot {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(244,241,236,0.12);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}
.recurring__robot img {
  padding: 9px;
  border-radius: 14px;
  background: var(--amber);
}
.recurring__prompt {
  margin: 20px 0 12px;
  color: var(--nav-link);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.recurring__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recurring__task {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(244,241,236,0.14);
  border-radius: 12px;
  background: rgba(244,241,236,0.06);
  color: var(--paper);
  font: 600 14px var(--body);
  text-align: left;
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}
.recurring__task span {
  display: grid;
  flex: none;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  background: rgba(233,180,76,0.15);
  color: var(--amber);
  font-family: var(--display);
  font-weight: 700;
}
.recurring__task:hover,
.recurring__task:focus-visible {
  transform: translateY(-2px);
  border-color: var(--amber);
  background: rgba(233,180,76,0.11);
}
.recurring__task:focus-visible { outline: 3px solid rgba(233,180,76,0.35); outline-offset: 2px; }
.recurring__task--wide { grid-column: 1 / -1; }

.legal__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-light);
  margin-top: 8px;
}
.legal .h3 { margin-top: 38px; }
.legal p { font-size: 16px; line-height: 1.65; color: var(--steel-light); margin-top: 12px; }
.legal p strong { color: var(--ink); }
.legal .ticks { margin-top: 14px; }
.legal .ticks li { font-size: 16px; }

/* ---------- Recent work ---------- */

.band__lede {
  color: var(--steel-light);
  font-size: 17px;
  max-width: 620px;
  margin-top: 14px;
}

.work .card { display: flex; flex-direction: column; }

.work__kind {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber-deeper);
  background: var(--paper);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 14px;
}

.work__link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-deeper);
  text-decoration: none;
  transition: color var(--ease);
}
.work__link::after { content: " →"; }
.work__link:hover { color: var(--ink); text-decoration: underline; }

.work .card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(35,39,46,0.07); }


/* ---------- Interior pages (services, locations) ---------- */

.wrap--narrow { max-width: 780px; }

.h1--sub { font-size: 44px; margin-top: 10px; }
.h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-top: 44px;
}

.crumbs {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  font-size: 13px;
  color: var(--steel-light);
}
.crumbs a { color: var(--steel-light); text-decoration: none; }
.crumbs a:hover { color: var(--amber-deeper); text-decoration: underline; }
.crumbs__sep { padding: 0 8px; color: var(--border); }

.card__link { color: inherit; text-decoration: none; }
.card__link:hover { color: var(--amber-deeper); }
.card__meta {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--steel-light);
}

.linklist {
  margin-top: 32px;
  columns: 3;
  column-gap: 32px;
}
.linklist--cols { columns: 3; }
.linklist--inline { columns: 2; }
.linklist li {
  break-inside: avoid;
  padding: 7px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.linklist a { color: var(--ink); text-decoration: none; }
.linklist a:hover { color: var(--amber-deeper); text-decoration: underline; }
.linklist__meta { float: right; color: var(--steel-light); font-size: 13px; }

.steps { counter-reset: step; margin-top: 20px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 44px;
  color: var(--steel-light);
  font-size: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--amber-deeper);
}
.steps strong { color: var(--ink); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .linklist, .linklist--cols { columns: 2; }
  .footer__inner {
    grid-template-columns: minmax(240px, 1.3fr) repeat(2, minmax(130px, 0.7fr));
    gap: 42px 34px;
  }
  .footer__cta { grid-column: 1 / -1; }
  .footer__cta .btn { width: auto; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; --nav-h: 78px; }

  .how__steps { grid-template-columns: 1fr; }
  .how__steps::before { display: none; }
  .how__visual { aspect-ratio: 16 / 9; }
  .how__footer { align-items: flex-start; flex-direction: column; }

  .hero-band {
    display: block;
    min-height: 0;
    padding: 0 0 52px;
  }
  .hero-band::after { display: none; }
  .hero__bg {
    position: static;
    height: 320px;
    object-position: 74% center;
  }
  .hero { padding: 30px var(--gutter) 0; }
  .hero__copy { max-width: none; }
  .hero__search { margin-top: 28px; }

  .h1 { font-size: 40px; }
  .h2 { font-size: 30px; }
  .h2--invert { font-size: 32px; }

  .grid--3 { grid-template-columns: 1fr; }
  .work.grid--3 { grid-template-columns: repeat(2, 1fr); }
  .h1--sub { font-size: 34px; }
  .linklist, .linklist--cols { columns: 2; }
  .band, .cta { padding-top: 64px; padding-bottom: 64px; }

  .footer { padding-top: 58px; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .recurring__shell { grid-template-columns: 1fr; gap: 42px; }
  .recurring__copy .band__lede { max-width: 680px; }

  /* nav collapses to a real menu, every link stays reachable */
  .nav { flex-wrap: wrap; padding: 12px var(--gutter); }
  .nav__toggle { display: inline-flex; position: relative; }
  .nav__links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
  }
  body.nav-open .nav__links { display: flex; }
  .nav__links .nav__link {
    min-height: 52px;
    font-size: 16px;
    border-top: 1px solid rgba(244,241,236,0.10);
  }
  .nav__links .btn--pill {
    margin-top: 12px;
    justify-content: center;
    font-size: 16px;
    min-height: 50px;
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --nav-h: 68px; }

  .nav__lockup { width: 158px; }

  .hero__bg { height: 240px; object-position: 76% center; }
  .hero { padding-top: 24px; }
  .h1 { font-size: 36px; line-height: 1.05; }
  .hero__lede { font-size: 17px; margin: 18px auto 28px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .how__card { padding-left: 20px; padding-right: 20px; }
  .how__visual { margin-left: -20px; margin-right: -20px; }
  .how__footer .btn { width: 100%; text-align: center; }
  .trust { gap: 8px; margin-top: 26px; }
  .trust__item { font-size: 12px; padding: 6px 12px; }

  .grid--4, .work.grid--3 { grid-template-columns: 1fr; }
  .grid { gap: 14px; }
  .h1--sub { font-size: 28px; }
  .crumbs { font-size: 12px; padding-top: 16px; }
  .linklist, .linklist--cols, .linklist--inline { columns: 1; }
  .linklist--tight { columns: 2; }        /* state names are short, two fit */
  .linklist li { padding: 9px 0; }        /* 44px tap targets */
  .linklist__meta { font-size: 12px; }
  .card { padding: 22px; }
  .footer { padding: 48px var(--gutter) 96px; text-align: left; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .footer__brand,
  .footer__cta { grid-column: 1 / -1; }
  .footer__brand { max-width: none; }
  .footer__logo img { width: 184px; }
  .footer__brand p { margin-top: 18px; }
  .footer__email { overflow-wrap: anywhere; }
  .footer__cta { padding: 24px; }
  .footer__cta .btn { width: 100%; }
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 38px;
    padding-top: 20px;
  }
  .footer__links { gap: 18px; }
  .recurring { padding-top: 56px; padding-bottom: 56px; }
  .recurring__shell { gap: 32px; }
  .recurring__flow { gap: 8px; margin-top: 26px; }
  .recurring__flow span { font-size: 12px; }
  .recurring__flow .is-accent { padding: 9px 10px; }
  .recurring__tasks { padding: 20px; border-radius: 18px; }
  .recurring__robot { font-size: 15px; }
  .recurring__grid { grid-template-columns: 1fr; }
  .recurring__task--wide { grid-column: auto; }

  /* sticky quote bar: the CTA is always one thumb away */
  .mobilebar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(35,39,46,0.97);
    border-top: 1px solid rgba(244,241,236,0.12);
  }
  .mobilebar__text {
    color: var(--nav-link);   /* #8E9299 was 4.42:1 on the bar, fails AA at 12px */
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    max-width: 40%;
  }
  .mobilebar__btn { font-size: 15px; padding: 13px 20px; }
  body { padding-bottom: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- SEO content blocks: job examples and FAQ ----------
   Added with the crawlable job list. These render owner-written copy that
   previously only existed inside assets/practical.json and was fetched by
   script, so no crawler ever saw it. Appended at the end of the file on
   purpose: index-slice edits to this stylesheet have twice eaten the
   responsive blocks above. */

.band--tint { background: var(--paper); border-top: 1px solid var(--border); }

.exlist {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ex {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}

.ex__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--ink);
}

.ex__desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--steel-light);
}

.ex__meta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.ex__hours,
.ex__price {
  border-radius: 999px;
  padding: 4px 11px;
  font-weight: 600;
}

.ex__hours { background: var(--paper); color: var(--steel-light); }
.ex__price { background: var(--ink); color: var(--amber); }

.band--tint .ex { background: var(--white); }

.faq { margin-top: 26px; display: grid; gap: 4px; }

.faq__item {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.faq__item:last-child { border-bottom: 1px solid var(--border); }

.faq__q {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.faq__a {
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--steel-light);
  max-width: 660px;
}

@media (max-width: 900px) {
  .exlist { grid-template-columns: 1fr; }
}

/* ---------- Guides ---------- */

.guidegrid { margin-top: 34px; }
.guidecard .eyebrow { margin-bottom: 10px; }

.band--guide { padding-bottom: 88px; }

.guide__deck {
  margin-top: 22px;
  max-width: 760px;
  color: var(--steel-light);
  font-size: 21px;
  line-height: 1.5;
}

.guide__date {
  margin-top: 18px;
  color: var(--steel-light);
  font-size: 14px;
}

.guide__summary {
  margin: 34px 0 42px;
  padding: 26px 30px;
  border: 1px solid var(--amber-deep);
  border-left: 7px solid var(--amber);
  border-radius: 14px;
  background: var(--white);
}

.guide__summary h2 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
}

.guide__summary ul,
.guide__body ul,
.guide__body ol {
  list-style: revert;
  padding-left: 1.4em;
}

.guide__summary ul { margin-top: 13px; }
.guide__summary li + li { margin-top: 7px; }

.guide__body > p,
.guide__body > ul,
.guide__body > ol { margin-top: 18px; }

.guide__body h2 {
  margin-top: 52px;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.2;
}

.guide__body h3 {
  margin-top: 34px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.25;
}

.guide__body li + li { margin-top: 8px; }

.guide__sources {
  margin-top: 58px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.guide__sources li {
  font-size: 15px;
  color: var(--steel-light);
}

@media (max-width: 640px) {
  .guide__deck { font-size: 18px; }
  .guide__summary { padding: 22px 20px; }
  .guide__body h2 { margin-top: 42px; font-size: 28px; }
  .guide__body h3 { font-size: 22px; }
}

/* ---------- Quick request form (QUICK_FORM in build_site.py) ---------- */

.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--gutter);
}
.cta__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.cta__lede { margin: 16px 0 0; color: var(--nav-link); font-size: 18px; line-height: 1.55; }

.quick { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quick__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.quick__copy .h2 { margin-top: 10px; }
.quick__lede { margin: 16px 0 0; color: var(--steel-light); font-size: 18px; line-height: 1.55; }

.qr { display: grid; gap: 16px; }
.qr__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr__field { display: grid; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.qr__field em { font-style: normal; font-weight: 400; color: var(--steel-light); }
.qr__field--optional { max-width: 50%; }
.qr input, .qr textarea {
  width: 100%;
  box-sizing: border-box;
  font: 400 16px/1.5 var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.qr textarea { resize: vertical; min-height: 120px; }
.qr input:focus, .qr textarea:focus { outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(233, 180, 76, .35); }
.qr textarea::placeholder { color: #7f838a; }
.qr__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.qr__submit { justify-self: start; border: 0; cursor: pointer; }
.qr__submit:disabled { opacity: .7; cursor: wait; transform: none; }
.qr__note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--steel-light); }
.qr__note a { color: var(--amber-deeper); }
.qr__status:empty { display: none; }
.qr__status { margin: 0; font-size: 15px; }
.qr__status--error { color: #9b2c1f; font-weight: 600; }
.qr__done { padding: 24px; border-radius: 12px; background: var(--paper); border: 1.5px solid var(--amber); color: var(--ink); }
.qr__done strong { font-family: var(--display); font-size: 22px; }
.qr__done p { margin: 8px 0 0; }

.cta .qr__field { color: var(--paper); }
.cta .qr__field em, .cta .qr__note { color: var(--nav-link); }
.cta .qr__note a { color: var(--amber); }
.cta .qr input, .cta .qr textarea { background: var(--white); border-color: transparent; }
.cta .qr__status--error { color: #ffb4a8; }

@media (max-width: 900px) {
  .cta { padding: 64px var(--gutter); }
  .cta__inner, .quick__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .cta { padding: 48px var(--gutter); }
  .qr__row { grid-template-columns: 1fr; }
  .qr__field--optional { max-width: none; }
  .qr__submit { justify-self: stretch; text-align: center; }
}

/* ---------- Pick 3 fixes board (write_fix_board in build_site.py) ---------- */

.fixhero { background: var(--ink); color: var(--paper); padding: 72px var(--gutter); }
.fixhero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.eyebrow--invert { color: var(--amber); }
.fixhero__title { color: var(--paper); margin-top: 12px; }
.fixhero .h1__accent { color: var(--amber); }
.fixhero__lede { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--nav-link); }
.fixhero__base { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--paper); }
.fixhero__points { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 8px; }
.fixhero__points li { padding-left: 28px; position: relative; }
.fixhero__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }
.fixhero__video { margin: 0; }
.fixhero__video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0d1117;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(233, 180, 76, .25); }
.fixhero__video figcaption { margin-top: 10px; font-size: 14px; color: var(--steel-dark); text-align: center; }

.fixsteps__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fixsteps__list li { padding: 24px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--paper); }
.fixsteps__list h3 { font-family: var(--display); font-size: 20px; margin: 12px 0 6px; }
.fixsteps__list p { margin: 0; color: var(--steel-light); font-size: 16px; line-height: 1.55; }
.fixsteps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: var(--ink); font: 700 18px var(--display); }

.fixboard__inner { margin-top: 28px; }
.fixfaq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.fixfaq details:first-of-type { margin-top: 20px; border-top: 1px solid var(--border); }
.fixfaq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 18px; }
.fixfaq details p { margin: 10px 0 0; color: var(--steel-light); }
.fixfaq a { color: var(--amber-deeper); }
.fixcta__inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.fixcta__lede { margin: 10px 0 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--nav-link); }
.fixboard__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.fixboard__group { font-family: var(--display); font-size: 20px; margin: 28px 0 12px; }
.fixboard__group:first-child { margin-top: 0; }
.fixboard__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fixcard {
  display: grid; grid-template-rows: 1fr auto; gap: 8px 12px; grid-template-columns: 1fr auto;
  padding: 16px; background: var(--white); border: 1.5px solid var(--border); border-radius: 12px;
  cursor: grab; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.fixcard:hover { border-color: var(--amber); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(35, 39, 46, .06); }
.fixcard--dragging { opacity: .5; }
.fixcard--picked { border-color: var(--amber-deep); background: #fdf6e7; }
.fixcard__label { grid-column: 1 / -1; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.35; }
.fixcard__meta { align-self: center; font-size: 14px; color: var(--steel-light); }
.fixcard__add {
  font: 700 14px var(--display); padding: 7px 14px; border-radius: 8px; border: 0;
  background: var(--amber); color: var(--ink); cursor: pointer;
}
.fixcard__add:disabled { background: var(--paper); color: var(--steel-light); cursor: default; }

.fixtray {
  position: sticky; top: calc(var(--nav-h) + 16px);
  padding: 22px; background: var(--ink); color: var(--paper); border-radius: 16px;
  border: 2px dashed transparent; transition: border-color var(--ease), transform var(--ease);
}
.fixtray--target { border-color: var(--amber); }
.fixtray--over { transform: scale(1.02); }
.fixtray--full { animation: fixshake .5s; }
@keyframes fixshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.fixtray__title { font-family: var(--display); font-size: 22px; margin: 0 0 14px; color: var(--paper); }
.fixtray__slots { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.fixslot {
  min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1.5px dashed #4a4f57; border-radius: 10px; color: var(--steel-dark); font-size: 14px;
}
.fixslot--filled { border-style: solid; border-color: #4a4f57; background: var(--ink-2); color: var(--paper); }
.fixslot--free { border-color: var(--amber); }
.fixslot__label { flex: 1; line-height: 1.35; }
.fixslot__price { font-weight: 700; white-space: nowrap; }
.fixslot--free .fixslot__price { color: var(--amber); }
.fixslot__remove { background: none; border: 0; color: var(--steel-dark); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.fixslot__remove:hover { color: var(--paper); }
.fixtray__sum { margin: 0 0 16px; display: grid; gap: 6px; font-size: 15px; }
.fixtray__sum div { display: flex; justify-content: space-between; }
.fixtray__sum dt, .fixtray__sum dd { margin: 0; }
.fixtray__free dd { color: var(--amber); }
.fixtray__total { padding-top: 8px; border-top: 1px solid #3a3f47; font-family: var(--display); font-size: 20px; font-weight: 700; }
.fixtray__go { display: block; text-align: center; }
.fixtray__go[aria-disabled="true"] { background: #3a3f47; color: var(--steel-dark); pointer-events: none; }
.fixtray__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--nav-link); }
.fixtray__note a { color: var(--amber); }

@media (max-width: 900px) {
  .fixhero { padding: 48px var(--gutter); }
  .fixhero__inner { grid-template-columns: 1fr; gap: 28px; }
  .fixsteps__list { grid-template-columns: 1fr; }
  .fixboard__inner { grid-template-columns: 1fr; gap: 20px; }
  /* Pinned under the nav while browsing cards, so the list never scrolls away. */
  .fixtray { order: -1; z-index: 5; padding: 14px; top: calc(var(--nav-h) + 8px); }
  .fixtray__title { font-size: 17px; margin-bottom: 8px; }
  .fixtray__slots { gap: 6px; margin-bottom: 10px; }
  .fixslot { min-height: 38px; padding: 6px 10px; font-size: 13px; }
  .fixtray__sum div:not(.fixtray__total), .fixtray__note { display: none; }
  .fixtray__sum { margin-bottom: 10px; }
  .fixtray__total { padding-top: 0; border-top: 0; font-size: 17px; }
}
@media (max-width: 640px) {
  .fixboard__cards { grid-template-columns: 1fr; }
  .fixcard { cursor: default; }
}

/* ---------- Pick 3 landing: proof, value, guarantee, phone bar ---------- */

.fixproof__cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fixproof__card a { display: grid; gap: 6px; height: 100%; text-decoration: none; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color var(--ease), transform var(--ease); }
.fixproof__card a:hover { border-color: var(--amber); transform: translateY(-2px); }
.fixproof__card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.fixproof__client { padding: 6px 16px 0; font-family: var(--display); font-weight: 700; font-size: 17px; }
.fixproof__what { padding: 0 16px 16px; color: var(--steel-light); font-size: 15px; line-height: 1.5; }

.fixclients__group { font-family: var(--display); font-size: 20px; margin: 32px 0 12px; }
.fixclients__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.fixclients__item { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.fixclients__name { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
a.fixclients__name:hover { color: var(--amber-deeper); text-decoration: underline; }
.fixclients__did { color: var(--steel-light); font-size: 14px; line-height: 1.45; }
.fixclients__own { margin: 24px 0 0; color: var(--steel-light); }
.fixclients__own a { color: var(--amber-deeper); }
@media (max-width: 900px) { .fixclients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fixclients__list { grid-template-columns: 1fr; } }

.fixvalue__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.fixvalue__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.fixvalue__list li { padding-left: 30px; position: relative; line-height: 1.55; }
.fixvalue__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 3px solid var(--amber-deep); border-bottom: 3px solid var(--amber-deep); transform: rotate(-45deg); }
.fixguarantee { padding: 32px; border-radius: 18px; background: var(--ink); color: var(--paper); text-align: center;
  box-shadow: 0 0 0 4px var(--amber) inset; }
.fixguarantee__badge { margin: 0; font: 600 13px var(--display); letter-spacing: 3px; text-transform: uppercase; color: var(--amber); }
.fixguarantee__title { margin: 10px 0; font-family: var(--display); font-size: 30px; line-height: 1.15; color: var(--paper); }
.fixguarantee p:last-child { margin: 0; color: var(--nav-link); }

.fixbar { display: none; }

@media (max-width: 900px) {
  .fixproof__cards { grid-template-columns: repeat(2, 1fr); }
  .fixvalue__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .fixproof__cards { grid-template-columns: 1fr; }
  .fixpage .mobilebar { display: none; }
  .fixpage .fixbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(35,39,46,0.97); border-top: 1px solid rgba(244,241,236,0.12);
  }
  .fixbar__text { color: var(--nav-link); font-size: 13px; font-weight: 600; line-height: 1.25; }
  .fixbar__btn { font-size: 15px; padding: 13px 20px; }
}
.fixpage .fixbar.fixbar--hidden { display: none; }
