/* Strong text contrast and a persistent, non-color-only navigation marker. */
html{scroll-padding-top:calc(var(--header-offset,112px) + 24px)}
header nav a[href^="#"]{box-shadow:inset 0 -2px 0 transparent;padding-bottom:6px;text-decoration:none;transition:box-shadow .18s ease,color .18s ease}
header nav a[href^="#"][aria-current="location"]{color:#1c2726;box-shadow:inset 0 -2px 0 #365749;font-weight:600;text-decoration:none}
header nav a[href^="#"]:hover{color:#1c2726}
header nav a:focus-visible{outline:2px solid #365749;outline-offset:5px}
@media(prefers-reduced-motion:reduce){header nav a[href^="#"]{transition:none}}

:root{--muted:#39483f;--green:#36533f}
#services .section-head p{color:#1c2726;font-size:14px;line-height:1.65}
header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}

/* A single anchor offset, with room for the section's own top padding. */
html{scroll-padding-top:var(--header-offset,112px)}
main>#about,main>#services{scroll-margin-top:0}
/* Keep the contact label inside the narrow header without shrinking page text. */
@media(max-width:420px){header{padding-inline:16px;gap:6px}header nav{gap:8px}header .brand-logo{gap:8px}}
@media(max-width:360px){header .brand-logo .brand-name small{display:none}}
