/* Homestead Creations: a slate-and-steel page with one bright thing on it, the yellow work-order tag
   crews hang on a door. Headlines are tall and condensed like stencilled lettering on a truck; everything
   else is quiet so the tag and the call to action carry the page. */
:root {
  --ink: #1e2b2f;        /* slate */
  --ink-2: #4a5a5f;
  --paper: #f6f8f7;      /* cool off-white */
  --mist: #e3e9e6;       /* bands */
  --rule: #c4cfca;
  --tag: #f2be22;        /* hi-vis tag yellow: the one accent */
  --tag-ink: #2e2500;
  --focus: #1f6feb;
  --wrap: 1120px;
  --head: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img, svg { display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-stretch: condensed; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 4.4rem); font-weight: 800; max-width: 15ch; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.small { font-size: .875rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 58ch; }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 0;
  background: var(--ink); color: #fff; font: 700 1.02rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover { background: #2c3d42; }
.button.small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.button.on-dark { background: var(--tag); color: var(--tag-ink); }
.button.on-dark:hover { background: #ffd048; }
.button[disabled] { opacity: .6; cursor: progress; }
.text-link { margin-left: 16px; font-weight: 600; }

/* header */
.top { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.2rem var(--head); font-stretch: condensed; text-decoration: none; white-space: nowrap; }
.top nav { margin-left: auto; }
.top nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.top nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.top-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* hero: the headline on the left, the hanging tag on the right */
.hero { padding: 64px 0 72px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 48px; align-items: center; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0; margin-top: 28px; }
.tag { position: relative; margin: 0; padding: 44px 26px 26px; background: var(--tag); color: var(--tag-ink); border-radius: 10px 10px 14px 14px;
  transform: rotate(-3deg); box-shadow: 0 18px 30px -18px rgba(30, 43, 47, .55); clip-path: polygon(22% 0, 78% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); }
.tag-hole { position: absolute; top: 14px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px rgba(46, 37, 0, .25); }
.tag figcaption { font: 800 1.15rem var(--head); font-stretch: condensed; border-bottom: 2px solid rgba(46, 37, 0, .3); padding-bottom: 10px; margin-bottom: 8px; }
.tag ul { list-style: none; margin: 0; padding: 0; }
.tag li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-weight: 600; border-bottom: 1px dashed rgba(46, 37, 0, .25); }
.tag li:last-child { border-bottom: 0; }
.tick { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.tag .tick path { stroke-dasharray: 24; stroke-dashoffset: 0; }
/* The one moving thing: each task on the tag is checked off in turn when the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .tag .tick path { animation: check .35s ease-out both; }
  .tag li:nth-child(1) .tick path { animation-delay: .35s; }
  .tag li:nth-child(2) .tick path { animation-delay: .7s; }
  .tag li:nth-child(3) .tick path { animation-delay: 1.05s; }
  .tag li:nth-child(4) .tick path { animation-delay: 1.4s; }
  @keyframes check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
}

/* services: rows, not cards */
.services { padding: 24px 0 56px; }
.service-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.service-row:last-of-type { border-bottom: 1px solid var(--rule); }
.service-row h3 { margin: 0; font-size: 1.6rem; }
.service-row p { margin: 0; color: var(--ink-2); }
.row-go { font-size: .9rem; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.service-row:hover h3 { text-decoration: underline; }
.licensed-line { margin-top: 22px; color: var(--ink-2); }

.audiences { background: var(--mist); padding: 56px 0; }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.audience-grid h3 { font-size: 1.2rem; }
.audience-grid p { color: var(--ink-2); margin: 0; }

.steps { padding: 56px 0 24px; }
.steps ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; }
.steps li { counter-increment: step; border-top: 4px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font: 800 2.4rem/1 var(--head); font-stretch: condensed; color: var(--ink-2); margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }

.faq { padding: 40px 0 56px; max-width: 760px; margin-inline: max(16px, (100% - var(--wrap)) / 2); }
.faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

.cta { background: var(--ink); color: #fff; padding: 40px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta p { margin: 0; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--head); font-stretch: condensed; }

/* inner pages */
.page-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 20ch; }
.page-hero.dark { background: var(--ink); color: #fff; border: 0; }
.page-hero.dark .lead, .page-hero.dark .crumbs { color: #c8d3cf; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 14px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 48px 0 8px; }
.checks { list-style: none; margin: 0 0 1em; padding: 0; }
.checks li { display: flex; gap: 10px; padding: 6px 0; }
.checks .tick { color: #2f6b45; }
.towns { list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.towns li { font: 700 1.5rem/1.2 var(--head); font-stretch: condensed; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.prose { padding: 36px 0 56px; }

/* quote form */
.quote { padding: 36px 0 64px; }
.sheet { max-width: 760px; background: #fff; border: 1px solid var(--rule); border-top: 6px solid var(--tag); border-radius: 8px; padding: 28px; display: grid; gap: 16px; }
.sheet label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.sheet input, .sheet select, .sheet textarea { font: inherit; font-weight: 400; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #9fb0a9; border-radius: 6px; background: #fff; color: var(--ink); }
.sheet textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { margin: -8px 0 0; font-size: .875rem; color: var(--ink-2); }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 400 !important; font-size: .82rem !important; color: var(--ink-2); }
.consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #a12a1b; font-weight: 600; margin: 0; }
.done h2 { margin-bottom: .3em; }

/* footer */
.foot { background: #172124; color: #c8d3cf; padding: 48px 0 32px; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 32px; }
.foot-name { font: 800 1.3rem var(--head); font-stretch: condensed; color: #fff; margin-bottom: .4em; }
.foot-head { font-weight: 700; color: #fff; margin-bottom: .4em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 2px 0; }
.foot-end { display: grid; align-content: start; gap: 12px; justify-items: start; }

@media (max-width: 960px) {
  .top nav { display: none; }
  .top-phone { margin-left: auto; }
  .hero-in, .two-col { grid-template-columns: 1fr; }
  .tag { max-width: 360px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand span { font-size: 1rem; }
  .brand img { width: 30px; height: 30px; }
  .top-in { gap: 12px; }
  .top-phone { display: none; }
  .top .button.small { margin-left: auto; }
  .hero { padding: 36px 0 48px; }
  .service-row { grid-template-columns: 1fr; gap: 6px; }
  .audience-grid, .steps ol, .row2, .foot-in { grid-template-columns: 1fr; }
  .text-link { margin-left: 0; width: 100%; margin-top: 10px; }
  .sheet { padding: 20px 16px; }
}

/* visit picker */
.visit { border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px 16px; display: grid; gap: 10px; margin: 0; }
.visit legend { font-weight: 700; padding: 0 4px; }
.visit .hint { margin: 0; }
.visit-days, .visit-times { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid #9fb0a9; border-radius: 999px; background: #fff; color: var(--ink); font: 600 .9rem var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.visit-times:empty { display: none; }

/* recent work */
.recent { padding: 8px 0 48px; }
.work-list { padding: 40px 0 56px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 16px; }
.work-card { display: grid; text-decoration: none; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.work-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.work-card-text { display: grid; gap: 2px; padding: 12px 14px; }
.work-card-text span { color: var(--ink-2); font-size: .95rem; }
.work-card:hover strong { text-decoration: underline; }
.work-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding: 36px 0 56px; }
.work-photos figure { margin: 0; }
.work-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--mist); }
.work-photos figcaption { padding-top: 8px; color: var(--ink-2); }
