/* 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:#4b4138}
.fit-note,.section-heading>p,.clarity-languages,#about .story-heading figcaption,#about .teaching-recognition>span,#about .studio-credentials small,#about .academic-fellowship>span,.feedback-source span{color:#4b4138}
.learning-quote figcaption{color:#763d29}

.about-section .story-about{--muted:#4b4138}

header .nav .nav-contact-icon{display:inline-flex;align-items:center;gap:8px;width:auto}

header .nav .nav-faq-icon{width:auto;min-height:36px;border-radius:0}
header .nav .nav-contact-icon{border-radius:0}
header .nav .nav-faq-icon:hover,header .nav .nav-contact-icon:hover{background:transparent}

/* Shared text baseline and underline position for every section link. */
header .nav>a[href^="#"]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:36px;min-height:36px;padding:0 0 6px;line-height:1.4;border-radius:0}
header .nav>a.nav-contact-icon{gap:4px}

/* Align the main-site home icon with the menu baseline. */
header .nav>a.nav-home{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:24px;height:36px;padding:0 0 6px;flex-shrink:0;color:var(--ink)}
header .nav>a.nav-home svg{display:block}
/* The navigation script aligns headings directly; avoid a second offset. */
#main>section[id]{scroll-margin-top:0}
