/* Service pages, homepage tile links and footer service links.
   Loaded after style.css; only adds new classes. */

/* Breadcrumb */
.crumbs { padding-top: clamp(20px, 3vw, 32px); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font: 500 var(--step--1)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.crumbs li + li::before { content: "/"; padding-inline: 10px; color: var(--field-line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink); }
@media (max-width: 640px) { .crumbs li:nth-child(2) { display: none; } }

/* Service page hero: a smaller headline than the homepage */
.hero-sub .hero-grid { padding-top: clamp(16px, 3vw, 40px); }
.hero-sub h1 { font-size: clamp(2.2rem, 1.4rem + 3.1vw, 4rem); }
.hero-note a { color: var(--ink); }

/* Related services */
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.related a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: clamp(20px, 3vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.related a:hover { border-color: var(--accent); }
.related h3 { font-size: var(--step-1); font-weight: 700; }
.related p { color: var(--muted); font-size: 0.975rem; }
.related .go { margin-top: auto; padding-top: 6px; font: 600 0.8125rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }

/* Homepage service tiles: link to each service page */
.tile .tile-more { min-height: 44px; }

/* Footer service links */
.footer-services { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; padding-bottom: 4px; }
.footer-cap { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.footer-services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-services a, .footer-services [aria-current] { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.95rem; }
.footer-services a { color: var(--ink); }
.footer-services [aria-current] { color: var(--muted); }
