/* ==========================================================================
   Keith Systems - interior pages (services, service areas)
   Extends css/styles.css. Reuses its tokens, header, footer, bands, and .faq.
   Only the pieces that do not exist on the landing page live here.
   ========================================================================== */

/* ---------- breadcrumbs ---------- */
.crumbs {
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.crumbs .wrap { padding-block: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .15s; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current="page"] { color: var(--text); }
.crumb-sep { color: var(--line); }

/* ---------- interior hero ---------- */
.subhero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.subhero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}
.subhero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.06;
  margin-block: .85rem 1.1rem;
  text-wrap: balance;
}
.subhero-copy .lede { max-width: 56ch; }
/* .hero-actions carries a 2.6rem bottom margin for the landing page hero;
   interior pages set their own rhythm instead. */
.subhero-copy .hero-actions { margin: 1.7rem 0 0; }
.subhero-copy .creds { margin-top: 2.1rem; }
.subhero-figure { margin: 0; }

@media (max-width: 860px) {
  .subhero-inner { grid-template-columns: 1fr; }
  .subhero-figure { order: -1; }
}

/* ---------- long-form body copy ---------- */
.prose-block + .prose-block { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.prose-block h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.16;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.prose-block h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 1.05rem;
}
.prose-block p {
  color: var(--muted);
  font-size: 1.01rem;
  max-width: 72ch;
}
.prose-block p + p { margin-top: .95rem; }

/* .link-mesh / .footer-mesh / .mesh-col live in styles.css - the footer uses
   them on every page, including the landing page, which loads styles.css only. */

/* ---------- closing call to action ---------- */
.cta-band {
  background: var(--fog);
  color: var(--fog-ink);
  padding: clamp(3rem, 7vw, 4.75rem) 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.1;
  text-wrap: balance;
}
.cta-band p {
  color: var(--fog-muted);
  max-width: 58ch;
  margin: 1rem auto 0;
}
.cta-band .hero-actions { margin: 1.9rem 0 0; justify-content: center; }
.cta-band .btn-ghost { color: var(--fog-ink); border-color: var(--fog-line); }
.cta-band .btn-ghost:hover { border-color: var(--fog-ink); background: rgba(13, 23, 26, .05); }
