/* Lucide SVGs compile at build time. No icon font, CDN or hydration. */
svg.ts-icon {
  display: inline-block;
  flex: none;
  vertical-align: -0.125em;
  max-width: none;
  pointer-events: none;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
}

/* Explicit dimensions survive legacy global SVG rules. */
svg.ts-icon[width="12"] { width: 12px; height: 12px; }
svg.ts-icon[width="14"] { width: 14px; height: 14px; }
svg.ts-icon[width="16"] { width: 16px; height: 16px; }
svg.ts-icon[width="18"] { width: 18px; height: 18px; }
svg.ts-icon[width="20"] { width: 20px; height: 20px; }
svg.ts-icon[width="24"] { width: 24px; height: 24px; }
svg.ts-icon[width="32"] { width: 32px; height: 32px; }
svg.ts-icon[width="48"] { width: 48px; height: 48px; }

/* Shared components must not depend on an absent utility CSS compiler. */
.ts-service-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-border, #3d5147);
  border-radius: 12px;
  background: var(--color-surface-secondary, #18231e);
}

.ts-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: #8de5b7;
  background: #173e2b;
  box-shadow: none;
}

.ts-service-card h3 { text-shadow: none; background: none; -webkit-text-fill-color: currentcolor; margin: 0 0 0.75rem; font-size: 1.25rem; color: var(--color-text-primary, #f1f5f3); }
.ts-service-card p { margin: 0; line-height: 1.7; color: var(--color-text-secondary, #cad7ce); }
.ts-service-card a { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; color: #8de5b7; text-underline-offset: 0.25em; }
.ts-service-card a:focus-visible, .ts-intro a:focus-visible { outline: 3px solid #e8c775; outline-offset: 5px; }

.ts-intro {
  padding: clamp(3rem, 8vw, 7rem) 1.5rem;
  background: #101b16;
  color: #eff7f1;
  text-align: center;
}

.ts-intro__inner { max-width: 72rem; margin-inline: auto; }
.ts-intro h1 { max-width: 20ch; margin: 0 auto 1.5rem; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.08; color: #eff7f1; text-shadow: none; text-wrap: balance; background: none; background-clip: border-box; -webkit-text-fill-color: currentcolor; }
.ts-intro p { max-width: 65ch; margin: 0 auto 2rem; color: #cad7ce; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; }
.ts-intro__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.ts-intro__actions a { display: inline-flex; justify-content: center; align-items: center; gap: 0.625rem; min-height: 48px; padding: 0.75rem 1.5rem; border: 1px solid #8de5b7; border-radius: 8px; text-decoration: none; font-weight: 700; }
.ts-intro__primary { background: #8de5b7; color: #10271b; }
.ts-intro__secondary { background: transparent; color: #eff7f1; }

/* Keep existing home content; restore the intended service grid. */
.ts-body .ts-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }

/* Existing link labels already contain SVG phone icons; avoid duplicate glyphs. */
a[href^="tel:"]::before, a[href^="mailto:"]::before { content: none; }
.ts-intro .ts-intro__status { margin-block: 0 1.5rem; font-size: 0.9rem; color: #8de5b7; }


/* Global section spacing must not inflate compact utility navigation. */
.ts-utility-bar { padding-block: 0; min-height: 0; }
.ts-utility-bar__container { padding-block: 0.625rem; }

/* The complete restored menu needs the drawer at tablet/laptop widths. */
@media (max-width: 1200px) {
  .ts-header .ts-nav { display: none; }
  .ts-header .ts-nav-toggle { display: inline-flex !important; }
  .ts-header .ts-header__phone-btn, .ts-header .ts-header__cta-btn { display: none; }
  .ts-header__actions { margin-left: auto; }
}

/* Restore source-intended content widths where utility CSS was never emitted. */
.ts-main-content > section:not(.ts-intro) > .mx-auto {
  width: min(100%, 75rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
}


@media (max-width: 600px) {
  .ts-header .ts-header__info { display: none !important; }
  .ts-header .ts-header__branding { flex: 0 0 auto; }
  .ts-header .ts-header__container { gap: 0.75rem; }
}

/* Resource heading inherited a low-contrast gradient through the global theme. */
.page-resources .hero--compact { background: #101b16; }
.page-resources .hero__title { color: #eff7f1; background: none; -webkit-text-fill-color: currentcolor; text-shadow: none; }
.page-resources .hero__summary { color: #cad7ce; }
