/*
Theme Name: Local Service
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: local-service
License: GPL-2.0-or-later
*/
:root {
    --service-paper: #fffaf0;
    --service-ink: #173b2f;
    --service-action: #b54816;
    --service-line: #b8c4bd;
    --service-width: 72rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--service-paper); color: var(--service-ink); font-family: system-ui, sans-serif; line-height: 1.65; }
a { color: var(--service-action); text-underline-offset: .2em; text-decoration-thickness: .12em; }
a:focus-visible, button:focus-visible { outline: .25rem solid var(--service-action); outline-offset: .25rem; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 10; padding: 1rem; background: var(--service-ink); color: var(--service-paper); }
.skip-link:focus { top: 1rem; }
.service-mast { max-width: var(--service-width); margin: auto; padding: 1rem clamp(1rem, 4vw, 3rem); border-bottom: .3rem solid var(--service-action); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.service-name { color: var(--service-ink); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.service-mast ul, .service-footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.service-main { max-width: var(--service-width); margin: auto; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }
.service-main > * + * { margin-top: clamp(3rem, 7vw, 6rem); }
.service-introduction { max-width: 52rem; padding-left: clamp(1rem, 4vw, 4rem); border-left: .5rem solid var(--service-action); }
.section-label, .record-state { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 15ch; margin: .25rem 0; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; }
.service-summary { max-width: 48ch; font-size: 1.25rem; }
.contact-link { display: inline-block; padding: .75rem 1rem; border: .15rem solid currentColor; font-weight: 800; }
.service-image img { width: 100%; max-height: 34rem; object-fit: cover; }
.service-image figcaption { padding-top: .5rem; font-size: .9rem; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.25rem; }
.service-content { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); gap: 2rem; }
.service-records { border-top: .2rem solid var(--service-ink); }
.service-record { display: grid; grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr); gap: 2rem; padding: 1.5rem 0; border-bottom: .1rem solid var(--service-line); }
.service-record h2, .service-record h3 { margin: .2rem 0; }
.service-record figure { margin: 0; }
.service-record img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.record-state { margin: 0; font-size: .78rem; }
.service-questions dl { max-width: 58rem; }
.service-questions dt { margin-top: 1.5rem; font-weight: 800; }
.service-questions dd { margin: .4rem 0 0; }
.service-feed { display: grid; gap: 1.25rem; }
.service-note { padding: 1.5rem; border: .1rem solid var(--service-line); }
.service-page article { max-width: 50rem; }
.service-footer { max-width: var(--service-width); margin: auto; padding: 2rem clamp(1rem, 4vw, 3rem); border-top: .3rem solid var(--service-action); display: flex; justify-content: space-between; gap: 2rem; }
@media (max-width: 46rem) {
    .service-mast, .service-footer { align-items: flex-start; flex-direction: column; }
    .service-content, .service-record { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (forced-colors: active) { .service-record, .service-note, .contact-link { border-color: CanvasText; } }
